summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-05-19 09:58:09 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-05-23 10:57:44 -0400
commit324fb26ba803a999bedc29e93c46c84f27abf5b7 (patch)
treed504009cdf1377ab791f69706c4e77f755ea65ad /src/external
parent7bdaf2a712d73763e7c3d25f6bb544b18f7028eb (diff)
downloadsssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.tar.gz
sssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.tar.xz
sssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.zip
Set _GNU_SOURCE globally
Diffstat (limited to 'src/external')
-rw-r--r--src/external/platform.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/src/external/platform.m4 b/src/external/platform.m4
index 051fe0765..c67e08144 100644
--- a/src/external/platform.m4
+++ b/src/external/platform.m4
@@ -37,8 +37,7 @@ AM_CONDITIONAL([HAVE_DEBIAN], [test x"$osname" = xdebian])
AM_CONDITIONAL([HAVE_GENTOO], [test x"$osname" = xgentoo])
AC_CHECK_MEMBERS([struct ucred.pid, struct ucred.uid, struct ucred.gid], , ,
- [[#define _GNU_SOURCE
- #include <sys/socket.h>]])
+ [[#include <sys/socket.h>]])
if test x"$ac_cv_member_struct_ucred_pid" = xyes -a \
x"$ac_cv_member_struct_ucred_uid" = xyes -a \