summaryrefslogtreecommitdiff
path: root/main/spprintf.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-12-06 12:18:36 +0100
committerAnatol Belski <ab@php.net>2014-12-06 12:18:36 +0100
commit42d7cb4c2c7832591814f88628186ac156a631eb (patch)
treedf36d4dae80fef858094bc15e025aebf34a0f66e /main/spprintf.c
parent3d68d843cb21d7147164dd4599e99afb456790c8 (diff)
parent08241ee3f3624d9fa9be21739a5e5cde28c24d0a (diff)
downloadphp-git-42d7cb4c2c7832591814f88628186ac156a631eb.tar.gz
Merge branch 'PHP-5.6'
* PHP-5.6: C89 compat add include for missing localeconv_r proto
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)