summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setresgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/setresgid.c')
-rw-r--r--libc/sysdeps/linux/common/setresgid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/setresgid.c b/libc/sysdeps/linux/common/setresgid.c
index 51bc5e2a8..07959e4af 100644
--- a/libc/sysdeps/linux/common/setresgid.c
+++ b/libc/sysdeps/linux/common/setresgid.c
@@ -8,6 +8,7 @@
*/
#include "syscalls.h"
+#ifdef __USE_GNU
#include <unistd.h>
libc_hidden_proto(setresgid)
@@ -35,3 +36,4 @@ int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
#endif
libc_hidden_def(setresgid)
+#endif