Fix header file usage -- there were many unnecessary header files included in
busybox.h which slowed compiles. I left only what was needed and then fixed up
all the apps to include their own header files. I also fixed naming for pwd.h
and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc.
-Erik
diff --git a/basename.c b/basename.c
index fcc7d46..0caae39 100644
--- a/basename.c
+++ b/basename.c
@@ -22,7 +22,8 @@
*/
#include "busybox.h"
-#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
extern int basename_main(int argc, char **argv)
{