com php-src: - Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set): sapi/cli/php_http _parser.h
| From: | Felipe Pena | Date: | Thu, 16 Aug 2012 18:45:21 +0000 |
| Subject: | com php-src: - Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set): sapi/cli/php_http _parser.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69854@lists.php.net to get a copy of this message | ||
Commit: 2e1d31d123ea5f310719c6c3c51587834907b7bf
Author: Felipe Pena <felipensp@gmail.com> Thu, 16 Aug 2012 15:45:21 -0300
Parents: b5494c5f17e3ebb7a04b24cb78a2714d229401b9
Branches: PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2e1d31d123ea5f310719c6c3c51587834907b7bf
Log:
- Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set)
Bugs:
https://bugs.php.net/62829
Changed paths:
M sapi/cli/php_http_parser.h
Diff:
diff --git a/sapi/cli/php_http_parser.h b/sapi/cli/php_http_parser.h
index b740a09..7e72b78 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