summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-10-15 08:24:18 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-21 22:21:23 +0200
commitee6b3e174d4769f360fd651f0778c3cc40a3b96f (patch)
treea54f047f41ab6608bd4e854c5560510c4f2273fd /lib
parentf167796416c48d915ae5b6f40c07e5633ef9b956 (diff)
downloadbarebox-ee6b3e174d4769f360fd651f0778c3cc40a3b96f.tar.gz
barebox-ee6b3e174d4769f360fd651f0778c3cc40a3b96f.tar.xz
copy_file: sparse fixes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/copy_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/copy_file.c b/lib/copy_file.c
index 0ff0435f11..70835319b6 100644
--- a/lib/copy_file.c
+++ b/lib/copy_file.c
@@ -3,6 +3,8 @@
#include <fcntl.h>
#include <errno.h>
#include <malloc.h>
+#include <libbb.h>
+
#define RW_BUF_SIZE (ulong)4096
/**