summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-11-25 18:02:47 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-26 19:21:09 +0100
commit85383d21159cdd3f35bc450f725217b262d15a03 (patch)
tree06ba5d3483c6aba7fd7ccb655f6b31f1e83b49ac
parent154c0b70f03b7a8809eb39dde50b5eb18c91d65f (diff)
downloadbarebox-85383d21159cdd3f35bc450f725217b262d15a03.tar.gz
envfs: include errno.h
Fixes: include/envfs.h:124:10: error: 'ENOSYS' undeclared Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/envfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/envfs.h b/include/envfs.h
index fdcb8a8..27c4b42 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