Add in ifconfig and route
[oweals/busybox.git] / rpmunpack.c
index 0f36077c12b09e7eecd2689fb72d9b8c4e850fd2..e37ac2cfad18f7a80cc06dc6c8471066985e6fd6 100644 (file)
@@ -15,6 +15,9 @@
  
 #include "busybox.h" 
 #include <fcntl.h>
+#include <unistd.h>
+#include <string.h>
+#include <stdlib.h>
 
 /*
  * Some general definitions
@@ -41,7 +44,7 @@ static void myread(int num, char *buffer)
        if (err < 0)
                perror_msg_and_die(progname);
        else
-               error_msg_and_die("Unexpected end of input file!\n");
+               error_msg_and_die("Unexpected end of input file!");
   }
 }