File openldap2-add-gnu-source.diff of Package openldap2-client

Index: openldap-2.4.8/libraries/liblutil/getpeereid.c
===================================================================
--- openldap-2.4.8.orig/libraries/liblutil/getpeereid.c
+++ openldap-2.4.8/libraries/liblutil/getpeereid.c
@@ -14,6 +14,8 @@
  * <http://www.OpenLDAP.org/license.html>.
  */
 
+#define _GNU_SOURCE
+
 #include "portable.h"
 
 #ifndef HAVE_GETPEEREID
openSUSE Build Service is sponsored by