$OpenBSD: patch-backends_xml-entry_c,v 1.1 2001/11/13 14:04:41 wilfried Exp $
--- backends/xml-entry.c.orig	Fri Oct 12 21:30:58 2001
+++ backends/xml-entry.c	Mon Nov 12 20:34:53 2001
@@ -17,11 +17,23 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#include <config.h>
+
 #include "xml-entry.h"
 #include <gconf/gconf-internals.h>
 #include <stdlib.h>
-#include <libxml/entities.h>
-#include <libxml/xmlmemory.h>
+
+#ifdef HAVE_GNOME_XML_ENTITIES_H
+# include <gnome-xml/entities.h>
+#else
+# include <libxml/entities.h>
+#endif
+
+#ifdef HAVE_GNOME_XML_XMLMEMORY_H
+# include <gnome-xml/xmlmemory.h>
+#else
+# include <libxml/xmlmemory.h>
+#endif
 
 static void
 entry_sync_if_needed(Entry* e, GConfValue* val);
