diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2009-10-17 00:22:23 +0200 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-11-22 11:20:31 -0800 |
commit | a81e1180eb8da569ba778eadf2fc1fc65d3a452c (patch) | |
tree | 8866e1f7888b6f03fe3830b99444348dbbe182e6 /include/sys/syscall.h | |
parent | 312a3bd9a081f95fdb94300de2fe1f2743af8208 (diff) | |
download | uClibc-alpine-a81e1180eb8da569ba778eadf2fc1fc65d3a452c.tar.bz2 uClibc-alpine-a81e1180eb8da569ba778eadf2fc1fc65d3a452c.tar.xz |
no need for bits/syscalls.h on target
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/sys/syscall.h')
-rw-r--r-- | include/sys/syscall.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/sys/syscall.h b/include/sys/syscall.h index db8364bcf..25264cf91 100644 --- a/include/sys/syscall.h +++ b/include/sys/syscall.h @@ -19,18 +19,18 @@ #ifndef _SYSCALL_H #define _SYSCALL_H 1 +/* User application code should use syscall(). */ + +#include <features.h> +#include <bits/sysnum.h> +#ifdef _LIBC /* The _syscall#() macros are for uClibc internal use only. - * User application code should use syscall() instead. * * The kernel provided _syscall[0-6] macros from asm/unistd.h are not suitable * for use in uClibc as they lack PIC support etc, so for uClibc we use our own * local _syscall# macros to be certain all such variations are handled * properly. */ - -#include <features.h> -#include <bits/sysnum.h> -#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc) # include <bits/syscalls.h> # include <bits/syscalls-common.h> #endif |