projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test base64 system more
[yaz-moved-to-github.git]
/
test
/
test_xml_include.c
diff --git
a/test/test_xml_include.c
b/test/test_xml_include.c
index
7a289be
..
5fb436b
100644
(file)
--- a/
test/test_xml_include.c
+++ b/
test/test_xml_include.c
@@
-1,7
+1,10
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2012 Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
@@
-12,6
+15,7
@@
static void tst_xml_include(void)
{
static void tst_xml_include(void)
{
+#if YAZ_HAVE_XML2
const char *srcdir = getenv("srcdir");
xmlDocPtr doc;
xmlNodePtr node;
const char *srcdir = getenv("srcdir");
xmlDocPtr doc;
xmlNodePtr node;
@@
-56,6
+60,7
@@
static void tst_xml_include(void)
}
}
xmlFreeDoc(doc);
}
}
xmlFreeDoc(doc);
+#endif
}
}