PKGBUILDs/extra/openldap/openldap-2.3.41-r1-fixed-peercred-error.patch
2009-10-09 21:23:22 -05:00

12 lines
385 B
Diff

diff -Naur openldap-2.3.41/libraries/liblutil/getpeereid.c new/libraries/liblutil/getpeereid.c
--- ./libraries/liblutil/getpeereid.c 2008-02-12 00:24:13.000000000 +0100
+++ ./libraries/liblutil/getpeereid.c 2008-06-12 12:55:34.000000000 +0200
@@ -14,6 +14,8 @@
* <http://www.OpenLDAP.org/license.html>.
*/
+#define _GNU_SOURCE
+
#include "portable.h"
#ifndef HAVE_GETPEEREID