From f6ec4106b66554f64f24713cdeea19916b2b3f57 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 16 Dec 2005 11:06:08 +0000 Subject: Use kernel provided syscalls for user-space, the one from libc is not usable --- include/sys/syscall.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/sys') 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 +#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc) +# include +#else +# include +# include +#endif #endif -- cgit v1.2.3