From 205db64953fc270a79878b89e5c6abc81c7c041a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 12 Aug 2010 10:20:19 +0200 Subject: [PATCH] Fix compilation for without libxml2 --- src/marcdisp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/marcdisp.c b/src/marcdisp.c index 2542806..d9b16c6 100644 --- a/src/marcdisp.c +++ b/src/marcdisp.c @@ -140,10 +140,12 @@ static void marc_iconv_reset(yaz_marc_t mt, WRBUF wr) static int marc_exec_leader(const char *leader_spec, char *leader, size_t size); +#if YAZ_HAVE_XML2 static int yaz_marc_write_xml_turbo_xml(yaz_marc_t mt, xmlNode **root_ptr, const char *ns, const char *format, const char *type); +#endif static struct yaz_marc_node *yaz_marc_add_node(yaz_marc_t mt) { -- 1.7.10.4