summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.h
diff options
context:
space:
mode:
authorFelipe Pena <felipensp@gmail.com>2012-08-16 15:45:21 -0300
committerFelipe Pena <felipensp@gmail.com>2012-08-16 15:45:21 -0300
commit2e1d31d123ea5f310719c6c3c51587834907b7bf (patch)
tree04d29ab1e29143d1761102e8fefe932f69c6dfae /sapi/cli/php_http_parser.h
parentb5494c5f17e3ebb7a04b24cb78a2714d229401b9 (diff)
downloadphp-git-2e1d31d123ea5f310719c6c3c51587834907b7bf.tar.gz
- Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set)
Diffstat (limited to 'sapi/cli/php_http_parser.h')
-rw-r--r--sapi/cli/php_http_parser.h5
1 files changed, 4 insertions, 1 deletions
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 <stdint.h>
+# include "php_config.h"
+# ifdef HAVE_STDINT_H
+# include <stdint.h>
+# endif
#endif
/* Compile with -DPHP_HTTP_PARSER_STRICT=0 to make less checks, but run