[PATCH v2 2/5] envfs: include errno.h

Lucas Stach l.stach at pengutronix.de
Tue Nov 25 09:02:47 PST 2014


Fixes: include/envfs.h:124:10: error: 'ENOSYS' undeclared

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 include/envfs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/envfs.h b/include/envfs.h
index fdcb8a8d97c3..27c4b42c6b60 100644
--- a/include/envfs.h
+++ b/include/envfs.h
@@ -2,6 +2,7 @@
 #define _ENVFS_H
 
 #ifdef __BAREBOX__
+#include <errno.h>
 #include <asm/byteorder.h>
 #include <linux/stringify.h>
 #endif
-- 
2.1.3




More information about the barebox mailing list