$OpenBSD: patch-backends_xml-dir_h,v 1.1 2001/11/13 14:04:41 wilfried Exp $
--- backends/xml-dir.h.orig	Fri Oct 12 21:01:30 2001
+++ backends/xml-dir.h	Mon Nov 12 20:36:58 2001
@@ -20,8 +20,15 @@
 #ifndef GCONF_XML_DIR_H
 #define GCONF_XML_DIR_H
 
+#include <config.h>
+
 #include <gconf/gconf.h>
-#include <libxml/tree.h>
+
+#ifdef HAVE_GNOME_XML_TREE_H
+# include <gnome-xml/tree.h>
+#else
+# include <libxml/tree.h>
+#endif
 
 /* Dir stores the information about a given directory */
 
