From: Art Cancro Date: Sat, 11 Feb 2006 04:33:18 +0000 (+0000) Subject: Moved _GNU_SOURCE declaration to webcit.h so all source modules have it defined. X-Git-Tag: v7.86~4211 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=6e702bd66bbece796065cd928f0759f6e54cb094;p=citadel.git Moved _GNU_SOURCE declaration to webcit.h so all source modules have it defined. --- 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