From: Hallvard Furuseth Date: Thu, 16 Apr 2009 18:02:01 +0000 (+0000) Subject: ITS#5464, #5666 Update last change: Conflicted with compiler flag -D_GNU_SOURCE X-Git-Tag: ACLCHECK_0~630 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7434318a17001a3ba841de53d8472e6d155c47ad;p=openldap ITS#5464, #5666 Update last change: Conflicted with compiler flag -D_GNU_SOURCE --- diff --git a/libraries/liblutil/getpeereid.c b/libraries/liblutil/getpeereid.c index bf38ff362e..adfec14af9 100644 --- a/libraries/liblutil/getpeereid.c +++ b/libraries/liblutil/getpeereid.c @@ -14,7 +14,9 @@ * . */ -#define _GNU_SOURCE +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 /* Needed for glibc struct ucred */ +#endif #include "portable.h"