summaryrefslogtreecommitdiff
path: root/main/spprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/spprintf.c')
-rw-r--r--main/spprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/spprintf.c b/main/spprintf.c
index ff8b723310..ee73d4f4e5 100644
--- a/main/spprintf.c
+++ b/main/spprintf.c
@@ -94,6 +94,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)