485c52a7d5
* Better compability for installing gconf 1 & 2 side by side * Better UTF8 handling * Lots of compilation and configuring fixes * Some portability fixes * Plus a lot of other fixes, see Changelog for full description
30 lines
707 B
Plaintext
30 lines
707 B
Plaintext
$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);
|