From 2e2445be3756a2d009a7ea21b5ba826ac33cba94 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 20 Jan 2006 23:35:34 +0000 Subject: fix building on alpha --- ldso/include/dl-syscall.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ldso/include') 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); -- cgit v1.2.3