summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2005-03-28 00:07:24 (GMT)
committerEdin Kadribasic <edink@php.net>2005-03-28 00:07:24 (GMT)
commite923407cc5b46cc13be6b9ebff18afcfd86eaed7 (patch)
tree9a9acd888d2398b5da683b7a8133ea42aebb8e5c /ext
parentc8ce18c1552ea6b39b5997631d12ec8e0cff07c0 (diff)
downloadphp-e923407cc5b46cc13be6b9ebff18afcfd86eaed7.tar.gz
Reshufle includes to make it compile on windows
Diffstat (limited to 'ext')
-rw-r--r--ext/xmlrpc/libxmlrpc/xml_element.c5
-rw-r--r--ext/xmlrpc/libxmlrpc/xmlrpc.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ext/xmlrpc/libxmlrpc/xml_element.c b/ext/xmlrpc/libxmlrpc/xml_element.c
index e9f6a4b..68eb0b6 100644
--- a/ext/xmlrpc/libxmlrpc/xml_element.c
+++ b/ext/xmlrpc/libxmlrpc/xml_element.c
@@ -44,6 +44,9 @@ static const char rcsid[] = "#(@) $Id$";
* 06/2000
* HISTORY
* $Log$
+ * Revision 1.7 2005/03/26 03:13:58 sniper
+ * - Made it possible to build ext/xmlrpc with libxml2
+ *
* Revision 1.6 2004/06/01 20:16:06 iliaa
* Fixed bug #28597 (xmlrpc_encode_request() incorrectly encodes chars in
* 200-210 range).
@@ -101,6 +104,7 @@ static const char rcsid[] = "#(@) $Id$";
* there must be some.
******/
+#include "ext/xml/expat_compat.h"
#ifdef _WIN32
#include "xmlrpc_win32.h"
#endif
@@ -110,7 +114,6 @@ static const char rcsid[] = "#(@) $Id$";
#include "xml_element.h"
#include "queue.h"
-#include "ext/xml/expat_compat.h"
#include "encodings.h"
#define my_free(thing) if(thing) {free(thing); thing = 0;}
diff --git a/ext/xmlrpc/libxmlrpc/xmlrpc.c b/ext/xmlrpc/libxmlrpc/xmlrpc.c
index 90a8b92..4112216 100644
--- a/ext/xmlrpc/libxmlrpc/xmlrpc.c
+++ b/ext/xmlrpc/libxmlrpc/xmlrpc.c
@@ -43,6 +43,9 @@ static const char rcsid[] = "#(@) $Id$";
* 9/1999 - 10/2000
* HISTORY
* $Log$
+ * Revision 1.7 2005/03/26 03:13:58 sniper
+ * - Made it possible to build ext/xmlrpc with libxml2
+ *
* Revision 1.6 2004/04/27 17:33:59 iliaa
* Removed C++ style comments.
*
@@ -119,7 +122,7 @@ static const char rcsid[] = "#(@) $Id$";
* - comprehensive API for manipulation of values
*******/
-
+#include "ext/xml/expat_compat.h"
#ifdef _WIN32
#include "xmlrpc_win32.h"
#endif
@@ -132,7 +135,6 @@ static const char rcsid[] = "#(@) $Id$";
#include "queue.h"
#include "xmlrpc.h"
-#include "ext/xml/expat_compat.h"
#include "base64.h"
#include "xml_to_xmlrpc.h"