summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/setegid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/setegid.c')
-rw-r--r--libc/sysdeps/linux/common/setegid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/setegid.c b/libc/sysdeps/linux/common/setegid.c
index dcd207132..759c9b0f3 100644
--- a/libc/sysdeps/linux/common/setegid.c
+++ b/libc/sysdeps/linux/common/setegid.c
@@ -12,7 +12,9 @@
#include <sys/types.h>
#include <sys/syscall.h>
+#ifdef __NR_setresgid
libc_hidden_proto(setresgid)
+#endif
libc_hidden_proto(setregid)
int setegid(gid_t gid)