aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/halt.c2
-rw-r--r--init/init.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/init/halt.c b/init/halt.c
index 1aac0faf9..7974adb17 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -159,7 +159,7 @@ int halt_main(int argc UNUSED_PARAM, char **argv)
159 which == 2 ? "6" : "0", 159 which == 2 ? "6" : "0",
160 (char *)NULL 160 (char *)NULL
161 ); 161 );
162 perror_msg_and_die("can't execute '%s'", 162 bb_perror_msg_and_die("can't execute '%s'",
163 CONFIG_TELINIT_PATH); 163 CONFIG_TELINIT_PATH);
164 } 164 }
165 } 165 }
diff --git a/init/init.c b/init/init.c
index ff9dc06a4..645f694c0 100644
--- a/init/init.c
+++ b/init/init.c
@@ -113,7 +113,8 @@
113#include <paths.h> 113#include <paths.h>
114#include <sys/resource.h> 114#include <sys/resource.h>
115#ifdef __linux__ 115#ifdef __linux__
116#include <linux/vt.h> 116# include <linux/vt.h>
117# include <sys/sysinfo.h>
117#endif 118#endif
118#include "reboot.h" /* reboot() constants */ 119#include "reboot.h" /* reboot() constants */
119 120