X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_xml_include.c;fp=test%2Ftest_xml_include.c;h=a61455c7826b5ba2c76250f1b9fa8f3a446fcb80;hp=7934b5e2381528d84e4e32d76253a718d9c088e1;hb=8c46ec68792635e698d8f6e83de83b9da37eebed;hpb=47c02bcca227aca4fe6b17916a2c734a3e8421ce diff --git a/test/test_xml_include.c b/test/test_xml_include.c index 7934b5e..a61455c 100644 --- a/test/test_xml_include.c +++ b/test/test_xml_include.c @@ -15,6 +15,7 @@ static void tst_xml_include(void) { +#if YAZ_HAVE_XML2 const char *srcdir = getenv("srcdir"); xmlDocPtr doc; xmlNodePtr node; @@ -59,6 +60,7 @@ static void tst_xml_include(void) } } xmlFreeDoc(doc); +#endif }