]> git.sur5r.net Git - openldap/commitdiff
ITS#5464, #5666 Update last change: Conflicted with compiler flag -D_GNU_SOURCE
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 16 Apr 2009 18:02:01 +0000 (18:02 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 16 Apr 2009 18:02:01 +0000 (18:02 +0000)
libraries/liblutil/getpeereid.c

index bf38ff362e8fef8b19c3cb6800402cece4967bfc..adfec14af98eb70d9820f039a14aa0277cce2a11 100644 (file)
@@ -14,7 +14,9 @@
  * <http://www.OpenLDAP.org/license.html>.
  */
 
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1                  /* Needed for glibc struct ucred */
+#endif
 
 #include "portable.h"