[php-src] PR #15536: Fix GH-15534: Build failure for libxml2 2.9.0 - 2.9.3
| From: | petk | Date: | Thu, 22 Aug 2024 00:32:26 +0000 |
| Subject: | [php-src] PR #15536: Fix GH-15534: Build failure for libxml2 2.9.0 - 2.9.3 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28115@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15536
Author: petk
The xmlDictPtr was moved before the includes in libxml2 2.9.4 so the <libxml/dict.h> can be
included directly but for earlier versions the <libxml/tree.h> needs to be included before.
Since PHP requires libxml2 2.9.0 or later and this also fixes builds on Solaris 10.