* use default configure options to find threadsafe locale
[citadel.git] / webcit / webcit.h
index ab0f7669635642f2a8d82e00ecf42c7ee0927e42..d47d6a830f572e14be365b743a78f93ad7fc25f2 100644 (file)
@@ -51,7 +51,9 @@
 #ifdef ENABLE_NLS
 #include <libintl.h>
 #include <locale.h>
+#ifdef HAVE_USELOCALE
 extern locale_t wc_locales[];
+#endif
 #define _(string)      gettext(string)
 #else
 #define _(string)      (string)