From 9bc15253ada0374a3d67099e945aa4cc89f33091 Mon Sep 17 00:00:00 2001 From: Melvyn Sopacua Date: Mon, 26 May 2003 20:56:01 +0000 Subject: [PATCH] Make LC_MESSAGES available, for platforms that don't have it natively, when gettext is compiled in. --- ext/standard/string.c | 3 +++ 1 file changed, 3 insertions(+) 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 #endif +#ifdef HAVE_LIBINTL +# include /* for LC_MESSAGES */ +#endif #include "scanf.h" #include "zend_API.h" #include "zend_execute.h" -- 2.50.1