summaryrefslogtreecommitdiff
path: root/libbb/copy_file.c
diff options
context:
space:
mode:
authorManuel Novoa III2001-06-29 18:59:32 +0000
committerManuel Novoa III2001-06-29 18:59:32 +0000
commita2949aa217f255341a0507b6e340285bdea1001f (patch)
tree9b51d9d86b8165853b4062470b5fc2074e649195 /libbb/copy_file.c
parentff9eee475f61800fe33bd60ac12b8b29015cbcdd (diff)
downloadbusybox-a2949aa217f255341a0507b6e340285bdea1001f.zip
busybox-a2949aa217f255341a0507b6e340285bdea1001f.tar.gz
Add some missing includes to kill warnings when building with the default
Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
Diffstat (limited to 'libbb/copy_file.c')
-rw-r--r--libbb/copy_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/copy_file.c b/libbb/copy_file.c
index 24bdf90..c79fbeb 100644
--- a/libbb/copy_file.c
+++ b/libbb/copy_file.c
@@ -29,6 +29,7 @@
#include <errno.h>
#include <dirent.h>
#include <stdlib.h>
+#include <string.h>
#include "libbb.h"