diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-06 02:46:20 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-06 02:46:20 +0000 |
commit | 1c7c8d902f3674f81f848057cab06264288cbfe7 (patch) | |
tree | 9583322c80f94b80f1e8a62127be8d9af1ed33c9 /include/sys/syscall.h | |
parent | 6e538396c7c8fa82f1134a7acf4b2b20078749f7 (diff) | |
download | uClibc-alpine-1c7c8d902f3674f81f848057cab06264288cbfe7.tar.bz2 uClibc-alpine-1c7c8d902f3674f81f848057cab06264288cbfe7.tar.xz |
Merge from trunk.
Diffstat (limited to 'include/sys/syscall.h')
-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 |