summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelvyn Sopacua <msopacua@php.net>2003-05-26 20:56:01 +0000
committerMelvyn Sopacua <msopacua@php.net>2003-05-26 20:56:01 +0000
commit9bc15253ada0374a3d67099e945aa4cc89f33091 (patch)
tree8a8fe1330dd2af7188c4d42c6e1f3252d284bbf4
parent53035874943ef49f45a72aba46d7d66b6a97d6c3 (diff)
downloadphp-git-9bc15253ada0374a3d67099e945aa4cc89f33091.tar.gz
Make LC_MESSAGES available, for platforms that don't have it natively,
when gettext is compiled in.
-rw-r--r--ext/standard/string.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 1d193768e3..b3a2cd5941 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -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"