$OpenBSD: patch-backends_xml-backend_c,v 1.1 2001/11/13 14:04:41 wilfried Exp $
--- backends/xml-backend.c.orig	Fri Oct 12 21:30:26 2001
+++ backends/xml-backend.c	Mon Nov 12 20:33:43 2001
@@ -18,6 +18,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#include <config.h>
 
 #include <gconf/gconf-backend.h>
 #include <gconf/gconf-internals.h>
@@ -25,9 +26,17 @@
 
 #include "xml-cache.h"
 
+#ifdef HAVE_GNOME_XML_TREE_H
+# include <gnome-xml/tree.h>
+#else
+# include <libxml/tree.h>
+#endif
 
-#include <libxml/tree.h>
-#include <libxml/parser.h>
+#ifdef HAVE_GNOME_XML_PARSER_H
+# include <gnome-xml/parser.h>
+#else
+# include <libxml/parser.h>
+#endif
 
 #include <stdio.h>
 #include <time.h>
