summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/logger.c3
-rw-r--r--sysklogd/syslogd.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 352bde1..1218d8d 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -21,7 +21,6 @@
*
*/
-#include "busybox.h"
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
@@ -30,6 +29,7 @@
#include <string.h>
#include <stdlib.h>
+#include "busybox.h"
#if !defined BB_SYSLOGD
#define SYSLOG_NAMES
@@ -40,6 +40,7 @@
* structures. Argh.... bad libc, bad, bad...
*/
#include <sys/syslog.h>
+
typedef struct _code {
char *c_name;
int c_val;
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 872728b..8049fc5 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -23,7 +23,6 @@
*
*/
-#include "busybox.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
@@ -56,6 +55,7 @@ static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
#else
# include <sys/klog.h>
#endif
+#include "busybox.h"