From d71e0f5445235ed25ab633d73a26bb4f01a0885f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 1 Mar 2012 15:41:34 +0100 Subject: [PATCH] record_conv: 2nd attempt compile wo Libxml2 --- include/yaz/record_conv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/yaz/record_conv.h b/include/yaz/record_conv.h index ad6dd9e..aab75a1 100644 --- a/include/yaz/record_conv.h +++ b/include/yaz/record_conv.h @@ -132,6 +132,7 @@ void yaz_record_conv_set_path(yaz_record_conv_t p, const char *path); \param type info */ +#if YAZ_HAVE_XML2 /** record conversion type */ struct yaz_record_conv_type { /** \brief internal; no need to set */ @@ -152,6 +153,7 @@ YAZ_EXPORT void yaz_record_conv_add_type(yaz_record_conv_t p, struct yaz_record_conv_type *type); +#endif YAZ_END_CDECL #endif -- 1.7.10.4