summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-07-10 09:27:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-08 15:42:04 +0100
commitb67b2671c2b7fe3fd33481f820efd9de17ed4ab7 (patch)
treed348054a0c88f34edb3fd77b74804dc41ae1e186 /lib
parent6fecd2aaca209884a0ec1f58ccc42b91d1d4b828 (diff)
downloadbarebox-b67b2671c2b7fe3fd33481f820efd9de17ed4ab7.tar.gz
barebox-b67b2671c2b7fe3fd33481f820efd9de17ed4ab7.tar.xz
treewide: Add missing includes
A lot of files rely on include/driver.h including include/of.h (and this including include/errno.h. include the files explicitly so we can eventually get rid of including of.h from driver.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/math.c1
-rw-r--r--lib/unlink-recursive.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/math.c b/lib/math.c
index 5a68f5e8b2..a4731edb9a 100644
--- a/lib/math.c
+++ b/lib/math.c
@@ -118,6 +118,7 @@
#include <linux/ctype.h>
#include <linux/string.h>
#include <libbb.h>
+#include <errno.h>
#include <math.h>
#define lookupvar (math_state->lookupvar)
diff --git a/lib/unlink-recursive.c b/lib/unlink-recursive.c
index a4885538c0..8f7812f852 100644
--- a/lib/unlink-recursive.c
+++ b/lib/unlink-recursive.c
@@ -1,4 +1,5 @@
#include <common.h>
+#include <errno.h>
#include <libbb.h>
#include <fs.h>