From fbaa9c6950f6b57690eb531d513bb1947a390e70 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Jan 2006 01:21:58 +0000 Subject: need to include bits/sysnum.h for all of our __NR_* defs --- ldso/ldso/sparc/dl-syscalls.h | 17 ++--------------- 1 file 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 /* We can't use the real errno in ldso, since it has not yet * been dynamicly linked in yet. */ -- cgit v1.2.3