svn commit: trunk/uClibc/include/sys
psm at uclibc.org
psm at uclibc.org
Fri Dec 16 11:06:10 UTC 2005
Author: psm
Date: 2005-12-16 03:06:08 -0800 (Fri, 16 Dec 2005)
New Revision: 12927
Log:
Use kernel provided syscalls for user-space, the one from libc is not usable
Modified:
trunk/uClibc/include/sys/syscall.h
Changeset:
Modified: trunk/uClibc/include/sys/syscall.h
===================================================================
--- trunk/uClibc/include/sys/syscall.h 2005-12-16 09:52:34 UTC (rev 12926)
+++ trunk/uClibc/include/sys/syscall.h 2005-12-16 11:06:08 UTC (rev 12927)
@@ -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
More information about the uClibc-cvs
mailing list