commit ceed67c87843c40d521f263c4fe8530be17cad97
parent b626785ad87ac7c7e7581cb5381a3430cd5f4252
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Sun, 30 Apr 2017 11:24:47 +0000
Adjust ftms for trysetgroups.c (glibc changed APIs without major version bump -_-)
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git 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