aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-20 06:14:08 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-20 06:14:08 +0000
commitcbe31dace5fb24304694d399b9eb267fbe752516 (patch)
tree49d1bb722d95eb1aded6b5d354ac86e56c481c10 /sysklogd/logger.c
parent94456f598417f2f61edb97b5ab67ddfdc408ad10 (diff)
downloadbusybox-cbe31dace5fb24304694d399b9eb267fbe752516.tar.gz
It turns out that DODMALLOC was broken when I reorganized busybox.h
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r--sysklogd/logger.c3
1 files changed, 2 insertions, 1 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 @@
*
*/
-#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;