summaryrefslogtreecommitdiff
path: root/ldso/include/dl-syscall.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-20 23:35:34 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-20 23:35:34 +0000
commit2e2445be3756a2d009a7ea21b5ba826ac33cba94 (patch)
treedb2a9386af2cbb086cff46f6a10c7bb8adf4bd0f /ldso/include/dl-syscall.h
parent230eeaf809af0fef07416804b700f576cd437c86 (diff)
fix building on alpha
Diffstat (limited to 'ldso/include/dl-syscall.h')
-rw-r--r--ldso/include/dl-syscall.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h
index 261e5e6f0..27af703e8 100644
--- a/ldso/include/dl-syscall.h
+++ b/ldso/include/dl-syscall.h
@@ -94,18 +94,33 @@ static inline _syscall2(int, _dl_fstat, int, fd, struct stat *, buf);
#define __NR__dl_munmap __NR_munmap
static inline _syscall2(int, _dl_munmap, void *, start, unsigned long, length);
+#ifdef __NR_getxuid
+# define __NR_getuid __NR_getxuid
+#endif
#define __NR__dl_getuid __NR_getuid
static inline _syscall0(uid_t, _dl_getuid);
+#ifndef __NR_geteuid
+# define __NR_geteuid __NR_getuid
+#endif
#define __NR__dl_geteuid __NR_geteuid
static inline _syscall0(uid_t, _dl_geteuid);
+#ifdef __NR_getxgid
+# define __NR_getgid __NR_getxgid
+#endif
#define __NR__dl_getgid __NR_getgid
static inline _syscall0(gid_t, _dl_getgid);
+#ifndef __NR_getegid
+# define __NR_getegid __NR_getgid
+#endif
#define __NR__dl_getegid __NR_getegid
static inline _syscall0(gid_t, _dl_getegid);
+#ifdef __NR_getxpid
+# define __NR_getpid __NR_getxpid
+#endif
#define __NR__dl_getpid __NR_getpid
static inline _syscall0(gid_t, _dl_getpid);