com php-src: add include for missing localeconv_r proto: ext/standard/formatted_print.c main/snprintf.c mai n/spprintf.c

From: Date: Sat, 06 Dec 2014 11:09:35 +0000
Subject: com php-src: add include for missing localeconv_r proto: ext/standard/formatted_print.c main/snprintf.c mai n/spprintf.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83552@lists.php.net to get a copy of this message
Commit: 373aa7c81fbbe71bbb29991f1898b508044d86bb Author: Anatol Belski <ab@php.net> Sat, 6 Dec 2014 12:09:35 +0100 Parents: 1b4d5ad46a60401bb3db754b4ef6888a7285e637 Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=373aa7c81fbbe71bbb29991f1898b508044d86bb Log: add include for missing localeconv_r proto Changed paths: M ext/standard/formatted_print.c M main/snprintf.c M main/spprintf.c Diff: diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c index a21bfeb..a10e90b 100644 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@ -28,6 +28,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) diff --git a/main/snprintf.c b/main/snprintf.c index 64b6633..d3382d3 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) diff --git a/main/spprintf.c b/main/spprintf.c index 212914f..ff8e964 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)

« previous php.cvs (#83552) next »