Use AC_CHECK_HEADERS rather than __DARWIN__ macro to include xlocale.h
[citadel.git] / webcit / webcit.h
index aba1fb7992db276e3a9294d7835a6d7e269f9bdc..5bc6277e9624bcd80b77d640e386a1c17a12f071 100644 (file)
@@ -1,3 +1,4 @@
+
 /* $Id$ */
 
 #include "sysdep.h"
@@ -49,7 +50,7 @@
 #endif
 
 #ifdef ENABLE_NLS
-#ifdef __APPLE__
+#ifdef HAVE_XLOCALE_H
 #include <xlocale.h>
 #endif
 #include <libintl.h>