]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
Began moving date outputs to strftime_l()
[citadel.git] / webcit / webcit.h
index 0bc43474bdaa8d72565c6cb003cc8e325ff0686f..0684163d2f7e920b55bf0de96ebee11e78dec555 100644 (file)
@@ -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
 #include <iconv.h>
 #endif
 
-#include "gettext.h"
-
-#if ENABLE_NLS
+#ifdef ENABLE_NLS
+#include <libintl.h>
 #include <locale.h>
+extern locale_t wc_locales[];
 #define _(string)      gettext(string)
 #else
 #define _(string)      (string)