Including bandled expat.h
| From: | Yasuo Ohgaki | Date: | Mon, 11 Mar 2002 07:27:05 +0000 |
| Subject: | Including bandled expat.h | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-80987@lists.php.net to get a copy of this message | ||
Any reason not to including bandled expat.h explicitly?
Any comments for possible fix?
Index: ext/wddx/php_wddx.h
===================================================================
RCS file: /repository/php4/ext/wddx/php_wddx.h,v
retrieving revision 1.10
diff -u -r1.10 php_wddx.h
--- ext/wddx/php_wddx.h 28 Feb 2002 08:26:56 -0000 1.10
+++ ext/wddx/php_wddx.h 11 Mar 2002 07:02:18 -0000
@@ -23,7 +23,7 @@
#if HAVE_WDDX
-#include <expat.h>
+#include "ext/xml/expat/expat.h"
extern zend_module_entry wddx_module_entry;
#define wddx_module_ptr &wddx_module_entry
Index: ext/xml/php_xml.h
===================================================================
RCS file: /repository/php4/ext/xml/php_xml.h,v
retrieving revision 1.19
diff -u -r1.19 php_xml.h
--- ext/xml/php_xml.h 11 Dec 2001 15:30:51 -0000 1.19
+++ ext/xml/php_xml.h 11 Mar 2002 07:02:18 -0000
@@ -35,7 +35,7 @@
#if defined(PHP_XML_INTERNAL)
-#include <expat.h>
+#include "ext/xml/expat/expat.h"
#ifdef PHP_WIN32
#define PHP_XML_API __declspec(dllexport)
--
Yasuo Ohgaki