diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-10 09:27:06 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-08 15:42:04 +0100 |
commit | b67b2671c2b7fe3fd33481f820efd9de17ed4ab7 (patch) | |
tree | d348054a0c88f34edb3fd77b74804dc41ae1e186 /commands | |
parent | 6fecd2aaca209884a0ec1f58ccc42b91d1d4b828 (diff) | |
download | barebox-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 'commands')
-rw-r--r-- | commands/detect.c | 1 | ||||
-rw-r--r-- | commands/filetype.c | 2 | ||||
-rw-r--r-- | commands/loadenv.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/commands/detect.c b/commands/detect.c index 15055e78bc..499994ba78 100644 --- a/commands/detect.c +++ b/commands/detect.c @@ -21,6 +21,7 @@ #include <complete.h> #include <driver.h> #include <getopt.h> +#include <errno.h> static int do_detect(int argc, char *argv[]) { diff --git a/commands/filetype.c b/commands/filetype.c index 20d335bd6d..f82a4616b1 100644 --- a/commands/filetype.c +++ b/commands/filetype.c @@ -12,7 +12,7 @@ #include <magicvar.h> #include <getopt.h> #include <linux/stat.h> -#include <fs.h> +#include <errno.h> static int do_filetype(int argc, char *argv[]) { diff --git a/commands/loadenv.c b/commands/loadenv.c index 14b964340b..df0df27a9d 100644 --- a/commands/loadenv.c +++ b/commands/loadenv.c @@ -24,6 +24,7 @@ #include <getopt.h> #include <command.h> #include <envfs.h> +#include <errno.h> #include <fs.h> static int do_loadenv(int argc, char *argv[]) |