summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-11-24 12:06:45 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-24 14:04:08 +0100
commit79f2b8a7c909238c2e4e2dea00907d213625699e (patch)
treebf92d996698fde1e332c5fa3cc74a135887a4886
parent02334626876608866d62cf9433065a51be1545b5 (diff)
downloadbarebox-79f2b8a7c909238c2e4e2dea00907d213625699e.tar.gz
common: firmware: include libfile
Fixes common/firmware.c:206:2: error: implicit declaration of function 'copy_file' in a number of configuration where this file isn't pulled in through other headers. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--common/firmware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/firmware.c b/common/firmware.c
index 2a62a81..a6f75bf 100644
--- a/common/firmware.c
+++ b/common/firmware.c
@@ -17,6 +17,7 @@
#include <xfuncs.h>
#include <fcntl.h>
#include <libbb.h>
+#include <libfile.h>
#include <fs.h>
#include <linux/list.h>
#include <linux/stat.h>