summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorEric Andersen2001-02-20 06:14:08 +0000
committerEric Andersen2001-02-20 06:14:08 +0000
commitcbe31dace5fb24304694d399b9eb267fbe752516 (patch)
tree49d1bb722d95eb1aded6b5d354ac86e56c481c10 /init/init.c
parent94456f598417f2f61edb97b5ab67ddfdc408ad10 (diff)
downloadbusybox-cbe31dace5fb24304694d399b9eb267fbe752516.zip
busybox-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 'init/init.c')
-rw-r--r--init/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c
index 9046a14..1332a10 100644
--- a/init/init.c
+++ b/init/init.c
@@ -27,7 +27,6 @@
#define DEBUG_INIT
*/
-#include "busybox.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
@@ -43,13 +42,14 @@
#include <sys/mount.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include "busybox.h"
+#define bb_need_full_version
+#define BB_DECLARE_EXTERN
+#include "messages.c"
#ifdef BB_SYSLOGD
# include <sys/syslog.h>
#endif
-#define bb_need_full_version
-#define BB_DECLARE_EXTERN
-#include "messages.c"
/* From <linux/vt.h> */
struct vt_stat {