summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-04-30 11:24:47 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-04-30 11:24:47 +0000
commitceed67c87843c40d521f263c4fe8530be17cad97 (patch)
tree34ae5b569cd4cd6e71ee0e0498d49a0acd98d6d6
parentb626785ad87ac7c7e7581cb5381a3430cd5f4252 (diff)
downloadskalibs-ceed67c87843c40d521f263c4fe8530be17cad97.tar.xz
Adjust ftms for trysetgroups.c (glibc changed APIs without major version bump -_-)
-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