From ceed67c87843c40d521f263c4fe8530be17cad97 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 30 Apr 2017 11:24:47 +0000 Subject: Adjust ftms for trysetgroups.c (glibc changed APIs without major version bump -_-) --- src/sysdeps/trysetgroups.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 -- cgit v1.2.3