fix build on bento due to libxml2 update

PR:		36749
Submitted by:	Tilman Linneweh <tilman@arved.de>
This commit is contained in:
Ying-Chieh Liao 2002-04-04 18:05:32 +00:00
parent 1e8c0a0b00
commit 3a38728071
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57324
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,14 @@
--- src/extras/xmlformatter.c.orig Thu Apr 4 15:47:47 2002
+++ src/extras/xmlformatter.c Thu Apr 4 15:48:50 2002
@@ -8,9 +8,9 @@
#include <string.h>
#include <gtk/gtk.h>
-#include <SAX.h>
-#include <parser.h>
-#include <parserInternals.h>
+#include <libxml/SAX.h>
+#include <libxml/parser.h>
+#include <libxml/parserInternals.h>
#include <unistd.h>

View File

@ -0,0 +1,17 @@
--- src/xmlparser.c.orig Thu Apr 4 17:05:35 2002
+++ src/xmlparser.c Thu Apr 4 17:08:09 2002
@@ -8,15 +8,9 @@
#include <string.h>
#include <gtk/gtk.h>
-#ifndef WIN32
-#include <SAX.h>
-#include <parser.h>
-#include <parserInternals.h>
-#else
#include <libxml/SAX.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
-#endif
#include "xmlparser.h"
#include "support.h"