]> granicus.if.org Git - php/commitdiff
Make LC_MESSAGES available, for platforms that don't have it natively,
authorMelvyn Sopacua <msopacua@php.net>
Mon, 26 May 2003 20:56:01 +0000 (20:56 +0000)
committerMelvyn Sopacua <msopacua@php.net>
Mon, 26 May 2003 20:56:01 +0000 (20:56 +0000)
when gettext is compiled in.

ext/standard/string.c

index 1d193768e323f16bd793d07ad0046c60cee69f5a..b3a2cd59417fa80b02b9c24ee87e05443ef1443c 100644 (file)
@@ -37,6 +37,9 @@
 #ifdef HAVE_MONETARY_H
 # include <monetary.h>
 #endif
+#ifdef HAVE_LIBINTL
+# include <libintl.h> /* for LC_MESSAGES */
+#endif
 #include "scanf.h"
 #include "zend_API.h"
 #include "zend_execute.h"