com php-src: Fix #76886: Can't build xmlrpc with expat: NEWS ext/xml/expat_compat.h

From: Date: Sat, 15 Sep 2018 11:21:53 +0000
Subject: com php-src: Fix #76886: Can't build xmlrpc with expat: NEWS ext/xml/expat_compat.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-103109@lists.php.net to get a copy of this message
Commit: 3691b6d245db6f69b5844ed86fa623d587d8d626 Author: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Thu, 5 Apr 2018 22:50:00 +0200 Committer: Christoph M. Becker <cmbecker69@gmx.de> Sat, 15 Sep 2018 13:21:53 +0200 Parents: 3bc4a63fc27768c665fcbc101db4e579c761833b Branches: PHP-7.2 PHP-7.3 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3691b6d245db6f69b5844ed86fa623d587d8d626 Log: Fix #76886: Can't build xmlrpc with expat We fix it by including "php.h" in the HAVE_LIBEXPAT case. Bugs: https://bugs.php.net/76886 Changed paths: M NEWS M ext/xml/expat_compat.h Diff: diff --git a/NEWS b/NEWS index 952182f..fa5b68f 100644 --- a/NEWS +++ b/NEWS @@ -25,6 +25,9 @@ PHP NEWS . Fixed bug #74764 (Bindto IPv6 works with file_get_contents but fails with stream_socket_client). (Ville Hukkamäki) +- XMLRPC: + . Fixed bug #76886 (Can't build xmlrpc with expat). (Thomas Petazzoni, cmb) + - Zlib: . Fixed bug #75273 (php_zlib_inflate_filter() may not update bytes_consumed). (Martin Burke, cmb) diff --git a/ext/xml/expat_compat.h b/ext/xml/expat_compat.h index ed621ab..29fe48a 100644 --- a/ext/xml/expat_compat.h +++ b/ext/xml/expat_compat.h @@ -154,6 +154,7 @@ PHP_XML_API const XML_Char *XML_ExpatVersion(void); PHP_XML_API void XML_ParserFree(XML_Parser); #elif defined(HAVE_LIBEXPAT) +#include "php.h" #include <expat..h> #endif /* HAVE_LIBEXPAT */

« previous php.cvs (#103109) next »