From 7434318a17001a3ba841de53d8472e6d155c47ad Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 16 Apr 2009 18:02:01 +0000 Subject: [PATCH] ITS#5464, #5666 Update last change: Conflicted with compiler flag -D_GNU_SOURCE --- libraries/liblutil/getpeereid.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- 2.39.5