summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorDenys Vlasenko2011-07-26 13:42:12 +0200
committerDenys Vlasenko2011-07-26 13:42:12 +0200
commit67905e2d7c6ee273b753af22fb22de0ebec918c1 (patch)
treecd61c7674c123307490cf1ff290ecb76a5c2905c /init
parent4abcb8b0d1c41544902ccd7927148eea393be37e (diff)
downloadbusybox-67905e2d7c6ee273b753af22fb22de0ebec918c1.zip
busybox-67905e2d7c6ee273b753af22fb22de0ebec918c1.tar.gz
*: work around sysinfo.h versus linux/*.h problems
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init')
-rw-r--r--init/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index ff9dc06..645f694 100644
--- a/init/init.c
+++ b/init/init.c
@@ -113,7 +113,8 @@
#include <paths.h>
#include <sys/resource.h>
#ifdef __linux__
-#include <linux/vt.h>
+# include <linux/vt.h>
+# include <sys/sysinfo.h>
#endif
#include "reboot.h" /* reboot() constants */