record_conv: 2nd attempt compile wo Libxml2
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 1 Mar 2012 14:41:34 +0000 (15:41 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 1 Mar 2012 14:41:34 +0000 (15:41 +0100)
include/yaz/record_conv.h

index ad6dd9e..aab75a1 100644 (file)
@@ -132,6 +132,7 @@ void yaz_record_conv_set_path(yaz_record_conv_t p, const char *path);
     \param type info
 */    
 
     \param type info
 */    
 
+#if YAZ_HAVE_XML2
 /** record conversion type */
 struct yaz_record_conv_type {
     /** \brief internal; no need to set */
 /** 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);
 
 void yaz_record_conv_add_type(yaz_record_conv_t p,
                               struct yaz_record_conv_type *type);
 
+#endif
 YAZ_END_CDECL
 
 #endif
 YAZ_END_CDECL
 
 #endif