diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 11:06:08 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 11:06:08 +0000 |
commit | f6ec4106b66554f64f24713cdeea19916b2b3f57 (patch) | |
tree | 18448c32802ae4873a3559b5ff6a56018d46cf4f /include | |
parent | b5543599fd6ef5424a7081abd0ead627fa006116 (diff) |
Use kernel provided syscalls for user-space, the one from libc is not usable
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/syscall.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/sys/syscall.h b/include/sys/syscall.h index 3b82571a3..703188683 100644 --- a/include/sys/syscall.h +++ b/include/sys/syscall.h @@ -20,6 +20,11 @@ #define _SYSCALL_H 1 /* This file provides us with the nicely useful _syscall[0-5] macros. */ -#include <bits/syscalls.h> +#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc) +# include <bits/syscalls.h> +#else +# include <asm/unistd.h> +# include <bits/sysnum.h> +#endif #endif |