summaryrefslogtreecommitdiff
path: root/src/sysdeps/trysetgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/trysetgroups.c')
-rw-r--r--src/sysdeps/trysetgroups.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sysdeps/trysetgroups.c b/src/sysdeps/trysetgroups.c
index ffea041..530cda0 100644
--- a/src/sysdeps/trysetgroups.c
+++ b/src/sysdeps/trysetgroups.c
@@ -7,6 +7,14 @@
#define _BSD_SOURCE
#endif
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+
+#ifndef _DEFAULT_SOURCE
+#define _DEFAULT_SOURCE
+#endif
+
#ifndef _NETBSD_SOURCE
#define _NETBSD_SOURCE
#endif