From 291ba71b7972a0cb09f66510b171c7a4ce6bce36 Mon Sep 17 00:00:00 2001 From: andersen Date: Sat, 27 Jan 2001 08:24:39 +0000 Subject: 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 git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- init/init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init') diff --git a/init/init.c b/init/init.c index 86906487f..5d0d924ad 100644 --- a/init/init.c +++ b/init/init.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -114,6 +115,8 @@ static const int RB_AUTOBOOT = 0x01234567; #if defined(__GLIBC__) #include #else +#include +#include static _syscall2(int, bdflush, int, func, int, data); #endif /* __GLIBC__ */ -- cgit v1.2.3-55-g6feb