From d7e017e199e787a41feada92e395892d7a92787f Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Wed, 29 Apr 2009 03:49:55 +0000 Subject: [PATCH] ITS#5464,ITS#5666 --- CHANGES | 1 + libraries/liblutil/getpeereid.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGES b/CHANGES index a8d48a59cc..d769ab4f1e 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ OpenLDAP 2.4 Change Log OpenLDAP 2.4.17 Engineering Fixed libldap gnutls private key init (ITS#6053) Fixed liblutil opendir/closedir on windows (ITS#6041) + Fixed liblutil for _GNU_SOURCE (ITS#5464,ITS#5666) Fixed slapd errno handling (ITS#6037) Fixed slapd global alloc handling (ITS#6054) Fixed slapd moduleload with static backends and modules (ITS#6016) diff --git a/libraries/liblutil/getpeereid.c b/libraries/liblutil/getpeereid.c index ebb221b528..adfec14af9 100644 --- a/libraries/liblutil/getpeereid.c +++ b/libraries/liblutil/getpeereid.c @@ -14,6 +14,10 @@ * . */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 /* Needed for glibc struct ucred */ +#endif + #include "portable.h" #ifndef HAVE_GETPEEREID -- 2.39.5