Fix warning
authorGlenn L McGrath <bug1@ihug.co.nz>
Sat, 22 Nov 2003 02:13:41 +0000 (02:13 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sat, 22 Nov 2003 02:13:41 +0000 (02:13 -0000)
libbb/copyfd.c

index 0787c812f3b9bbfbb7a5dbcd5ffd81833b3abb01..62ada8e02b2e1de4191450600fa28786d8022094 100644 (file)
  * 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))
 {