diff options
Diffstat (limited to 'libc/sysdeps/linux/common/getgid.c')
-rw-r--r-- | libc/sysdeps/linux/common/getgid.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getgid.c b/libc/sysdeps/linux/common/getgid.c index 3f48c33c8..f155b580e 100644 --- a/libc/sysdeps/linux/common/getgid.c +++ b/libc/sysdeps/linux/common/getgid.c @@ -11,8 +11,14 @@ #include <unistd.h> #if defined __NR_getxgid +# undef __NR_getgid # define __NR_getgid __NR_getxgid #endif +#ifdef __NR_getgid32 +# undef __NR_getgid +# define __NR_getgid __NR_getgid32 +#endif + libc_hidden_proto(getgid) _syscall0(gid_t, getgid); libc_hidden_def(getgid) |