summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/setgroups.c')
-rw-r--r--libc/sysdeps/linux/common/setgroups.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/setgroups.c b/libc/sysdeps/linux/common/setgroups.c
index dd1a03f38..49f3dc61f 100644
--- a/libc/sysdeps/linux/common/setgroups.c
+++ b/libc/sysdeps/linux/common/setgroups.c
@@ -12,6 +12,8 @@
#include <unistd.h>
#include <grp.h>
+#ifdef __USE_BSD
+
libc_hidden_proto(setgroups)
#if defined(__NR_setgroups32)
@@ -62,3 +64,4 @@ ret_error:
#endif
libc_hidden_def(setgroups)
+#endif