PKGBUILDs/extra/openldap/openldap-2.3.41-r1-fixed-peercred-error.patch

13 lines
385 B
Diff
Raw Normal View History

2009-10-10 02:23:22 +00:00
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