summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getresgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getresgid.c')
-rw-r--r--libc/sysdeps/linux/common/getresgid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getresgid.c b/libc/sysdeps/linux/common/getresgid.c
index 158a8984f..bc19b97ea 100644
--- a/libc/sysdeps/linux/common/getresgid.c
+++ b/libc/sysdeps/linux/common/getresgid.c
@@ -8,6 +8,7 @@
*/
#include "syscalls.h"
+#ifdef __USE_GNU
#include <unistd.h>
#if defined(__NR_getresgid32)
@@ -34,3 +35,4 @@ int getresgid(gid_t * rgid, gid_t * egid, gid_t * sgid)
return result;
}
#endif
+#endif