Add in ifconfig and route
[oweals/busybox.git] / whoami.c
index d7f0a177c99769702c87668fac7fc7d6bc153cbb..398e37315a8277a3aa1423dba34c9b05514b24f7 100644 (file)
--- a/whoami.c
+++ b/whoami.c
@@ -22,6 +22,8 @@
 
 #include "busybox.h"
 #include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
 
 extern int whoami_main(int argc, char **argv)
 {
@@ -36,5 +38,5 @@ extern int whoami_main(int argc, char **argv)
                puts(user);
                return EXIT_SUCCESS;
        }
-       error_msg_and_die("cannot find username for UID %u\n", (unsigned) uid);
+       error_msg_and_die("cannot find username for UID %u", (unsigned) uid);
 }