diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-11 01:21:58 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-11 01:21:58 +0000 |
commit | fbaa9c6950f6b57690eb531d513bb1947a390e70 (patch) | |
tree | da1f4844a56cac2d62c6f683d142e79f521b7ef1 /ldso | |
parent | 71f7aa1311d588b25df23358001908c0eecc25ca (diff) |
need to include bits/sysnum.h for all of our __NR_* defs
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/sparc/dl-syscalls.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/ldso/ldso/sparc/dl-syscalls.h b/ldso/ldso/sparc/dl-syscalls.h index b1fd73eb8..f29661c4e 100644 --- a/ldso/ldso/sparc/dl-syscalls.h +++ b/ldso/ldso/sparc/dl-syscalls.h @@ -8,21 +8,8 @@ #define MMAP_HAS_6_ARGS -#define __NR_exit 1 -#define __NR_read 3 -#define __NR_write 4 -#define __NR_open 5 -#define __NR_close 6 -#define __NR_getpid 20 -#define __NR_getuid 24 -#define __NR_getgid 47 -#define __NR_geteuid 49 -#define __NR_getegid 50 -#define __NR_readlink 58 -#define __NR_mmap 71 -#define __NR_munmap 73 -#define __NR_stat 38 -#define __NR_mprotect 74 +#define _SYSCALL_H +#include <bits/sysnum.h> /* We can't use the real errno in ldso, since it has not yet * been dynamicly linked in yet. */ |