diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-22 13:06:07 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-22 13:06:07 +0000 |
commit | a0d4ac60dc373d2f18d9861087e0054d4e8f865d (patch) | |
tree | 92718cc3604293f2f1cbe63945bc49eb134427bf /mdk-stage1/init-libc-headers.h | |
parent | d256d73891a4806211f9de9007ea0b465cead03b (diff) | |
download | drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.gz drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.bz2 drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.xz drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.zip |
have "init" compiled against dietlibc (rather than glibc) on non-Intel arch's
Diffstat (limited to 'mdk-stage1/init-libc-headers.h')
-rw-r--r-- | mdk-stage1/init-libc-headers.h | 10 |
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); |