summaryrefslogtreecommitdiff
path: root/main/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/snprintf.c')
-rw-r--r--main/snprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/snprintf.c b/main/snprintf.c
index a1c03e5947..7e4d8a11ab 100644
--- a/main/snprintf.c
+++ b/main/snprintf.c
@@ -39,6 +39,7 @@
#ifdef HAVE_LOCALE_H
#include <locale.h>
#ifdef ZTS
+#include "ext/standard/php_string.h"
#define LCONV_DECIMAL_POINT (*lconv.decimal_point)
#else
#define LCONV_DECIMAL_POINT (*lconv->decimal_point)