From 66115c4740c8bc55552697bcf46902b07c88c5f9 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Tue, 31 Oct 2000 19:40:35 +0000 Subject: [PATCH] Fix for libxml-1.8.6. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3106 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/io-gncxml-w.c | 8 ++++++++ src/engine/util.h | 1 + 2 files changed, 9 insertions(+) diff --git a/src/engine/io-gncxml-w.c b/src/engine/io-gncxml-w.c index a69920c83f..c4e3615d81 100644 --- a/src/engine/io-gncxml-w.c +++ b/src/engine/io-gncxml-w.c @@ -28,6 +28,14 @@ #include "FileIOP.h" #include + +/* Pulled from the libxml-1.8.8 header */ +#ifndef xmlChildrenNode +#define xmlChildrenNode childs +#define xmlRootNode root +#endif + + static gboolean xml_add_str(xmlNodePtr p, const char *tag, const char *str, gboolean include_if_empty) { diff --git a/src/engine/util.h b/src/engine/util.h index 278bea6aef..8a8eb5b336 100644 --- a/src/engine/util.h +++ b/src/engine/util.h @@ -32,6 +32,7 @@ #include #include +#include #include #include