From 2f88f917c27cfb08cd889a71fec62f823b828f74 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 2 Nov 2011 17:31:51 +0100 Subject: setegid: use setresgid conditionally Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/setegid.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libc/sysdeps/linux/common/setegid.c b/libc/sysdeps/linux/common/setegid.c index 30329bc5c..eae57f585 100644 --- a/libc/sysdeps/linux/common/setegid.c +++ b/libc/sysdeps/linux/common/setegid.c @@ -11,6 +11,12 @@ #include #include + +#if !defined __UCLIBC_LINUX_SPECIFIC__ +#undef __NR_setresgid +#undef __NR_setresgid32 +#endif + int setegid(gid_t gid) { int result; -- cgit v1.2.3