diff options
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/logger.c | 3 | ||||
-rw-r--r-- | sysklogd/syslogd.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 352bde158..1218d8d2e 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c | |||
@@ -21,7 +21,6 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include "busybox.h" | ||
25 | #include <stdio.h> | 24 | #include <stdio.h> |
26 | #include <unistd.h> | 25 | #include <unistd.h> |
27 | #include <sys/types.h> | 26 | #include <sys/types.h> |
@@ -30,6 +29,7 @@ | |||
30 | #include <string.h> | 29 | #include <string.h> |
31 | #include <stdlib.h> | 30 | #include <stdlib.h> |
32 | 31 | ||
32 | #include "busybox.h" | ||
33 | #if !defined BB_SYSLOGD | 33 | #if !defined BB_SYSLOGD |
34 | 34 | ||
35 | #define SYSLOG_NAMES | 35 | #define SYSLOG_NAMES |
@@ -40,6 +40,7 @@ | |||
40 | * structures. Argh.... bad libc, bad, bad... | 40 | * structures. Argh.... bad libc, bad, bad... |
41 | */ | 41 | */ |
42 | #include <sys/syslog.h> | 42 | #include <sys/syslog.h> |
43 | |||
43 | typedef struct _code { | 44 | typedef struct _code { |
44 | char *c_name; | 45 | char *c_name; |
45 | int c_val; | 46 | int c_val; |
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 872728b5b..8049fc5d1 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -23,7 +23,6 @@ | |||
23 | * | 23 | * |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include "busybox.h" | ||
27 | #include <stdio.h> | 26 | #include <stdio.h> |
28 | #include <stdlib.h> | 27 | #include <stdlib.h> |
29 | #include <ctype.h> | 28 | #include <ctype.h> |
@@ -56,6 +55,7 @@ static inline _syscall3(int, klogctl, int, type, char *, b, int, len); | |||
56 | #else | 55 | #else |
57 | # include <sys/klog.h> | 56 | # include <sys/klog.h> |
58 | #endif | 57 | #endif |
58 | #include "busybox.h" | ||
59 | 59 | ||
60 | 60 | ||
61 | 61 | ||