From 6e702bd66bbece796065cd928f0759f6e54cb094 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 11 Feb 2006 04:33:18 +0000 Subject: [PATCH] Moved _GNU_SOURCE declaration to webcit.h so all source modules have it defined. --- webcit/gettext.c | 2 -- webcit/webcit.h | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/webcit/gettext.c b/webcit/gettext.c index 70af1ef5a..3596c5d7c 100644 --- a/webcit/gettext.c +++ b/webcit/gettext.c @@ -6,8 +6,6 @@ * \ingroup WebcitHttpServer */ /*@{*/ -/** we need _GNU_SOURCE for various functions arround the NLS-Stuff */ -#define _GNU_SOURCE #include "webcit.h" #include "webserver.h" diff --git a/webcit/webcit.h b/webcit/webcit.h index 0bc43474b..ecd8d5d2d 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -1,5 +1,9 @@ /* $Id$ */ +/** we need _GNU_SOURCE for various functions arround the NLS-Stuff */ +#define _GNU_SOURCE + + #include #include #ifdef HAVE_UNISTD_H -- 2.39.2