From 2e1d31d123ea5f310719c6c3c51587834907b7bf Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Thu, 16 Aug 2012 15:45:21 -0300 Subject: [PATCH] - Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set) --- sapi/cli/php_http_parser.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sapi/cli/php_http_parser.h b/sapi/cli/php_http_parser.h index b740a0995e..7e72b78d7d 100644 --- a/sapi/cli/php_http_parser.h +++ b/sapi/cli/php_http_parser.h @@ -32,7 +32,10 @@ extern "C" { # include "win32/php_stdint.h" # include "config.w32.h" #else -# include +# include "php_config.h" +# ifdef HAVE_STDINT_H +# include +# endif #endif /* Compile with -DPHP_HTTP_PARSER_STRICT=0 to make less checks, but run -- 2.40.0