diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-22 02:13:41 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-22 02:13:41 +0000 |
commit | f0515dad66ab7340674a8695dfd60ffcef6cb5aa (patch) | |
tree | 89407510fa5e1c4503e49f73d798fec561e6e28a /libbb | |
parent | 7ffe1338647d2b890df3ae46e526410b21a90d18 (diff) | |
download | busybox-f0515dad66ab7340674a8695dfd60ffcef6cb5aa.tar.gz |
Fix warning
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/copyfd.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libbb/copyfd.c b/libbb/copyfd.c index 0787c812f..62ada8e02 100644 --- a/libbb/copyfd.c +++ b/libbb/copyfd.c @@ -19,16 +19,20 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <unistd.h> -#include <string.h> #include <errno.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> + #include "busybox.h" + #if BUFSIZ < 4096 #undef BUFSIZ #define BUFSIZ 4096 #endif + /* If size is 0 copy until EOF */ extern size_t bb_full_fd_action(int src_fd, int dst_fd, const size_t size, ssize_t (*action)(int fd, const void *, size_t)) { |