From a0d4ac60dc373d2f18d9861087e0054d4e8f865d Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 22 Feb 2001 13:06:07 +0000 Subject: have "init" compiled against dietlibc (rather than glibc) on non-Intel arch's --- mdk-stage1/init-libc-headers.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'mdk-stage1/init-libc-headers.h') 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 #include #include -#include -#include #include -_syscall3(int, syslog, int, type, char *, bufp, int, len); +#include + +#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); -- cgit v1.2.1