summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a004e1cc2e..ed2e47e299 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 <math.h>