[PATCH] include/environment.h: Add missing include

Sascha Hauer s.hauer at pengutronix.de
Wed Oct 22 06:57:16 PDT 2014


include/environment.h uses error codes, so it needs errno.h.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 include/environment.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/environment.h b/include/environment.h
index a08f597..52eafe9 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -21,6 +21,7 @@
 #define _ENVIRONMENT_H_
 
 #include <linux/list.h>
+#include <errno.h>
 
 /**
  * Managment of a environment variable
-- 
2.1.1




More information about the barebox mailing list