summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/init-libc-headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/init-libc-headers.h')
-rw-r--r--mdk-stage1/init-libc-headers.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/mdk-stage1/init-libc-headers.h b/mdk-stage1/init-libc-headers.h
index d9394d851..f5f6aa2e6 100644
--- a/mdk-stage1/init-libc-headers.h
+++ b/mdk-stage1/init-libc-headers.h
@@ -33,8 +33,12 @@
#include <signal.h>
#include <sys/resource.h>
#include <sys/wait.h>
-#include <linux/reboot.h>
-#include <sys/reboot.h>
#include <linux/unistd.h>
-_syscall3(int, syslog, int, type, char *, bufp, int, len);
+#include <sys/select.h>
+
+#ifndef SOCK_STREAM
+#define SOCK_STREAM 1
+#endif
+_syscall3(int, syslog, int, type, char *, bufp, int, len);
+_syscall3(int, reboot, int, magic, int, magic2, int, flag);