openldap2/openldap2-add-gnu-source.diff

14 lines
371 B
Diff
Raw Normal View History

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