Commit:    2e1d31d123ea5f310719c6c3c51587834907b7bf
Author:    Felipe Pena <felipe...@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


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to