projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
992e510
)
Moved _GNU_SOURCE declaration to webcit.h so all source modules have it defined.
author
Art Cancro
<ajc@citadel.org>
Sat, 11 Feb 2006 04:33:18 +0000
(
04:33
+0000)
committer
Art Cancro
<ajc@citadel.org>
Sat, 11 Feb 2006 04:33:18 +0000
(
04:33
+0000)
webcit/gettext.c
patch
|
blob
|
history
webcit/webcit.h
patch
|
blob
|
history
diff --git
a/webcit/gettext.c
b/webcit/gettext.c
index 70af1ef5a9714c824061d1081aa39376ca875aa9..3596c5d7c5103d5bdc868f74800d49aa831632ad 100644
(file)
--- 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 0bc43474bdaa8d72565c6cb003cc8e325ff0686f..ecd8d5d2de3eb9933fdc5746c961b3e68211dac9 100644
(file)
--- 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 <ctype.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H