X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_soap1.c;h=a9e3cdf5849225555241ee76c90f17998aea9609;hp=eb2ba11d7974f13fb85d1728724ef44343b031f6;hb=45fb4747b80f37bfa44738e1071c094f18660ae9;hpb=3107ce3a34993d2f784387f227a50343fff83bbc diff --git a/test/test_soap1.c b/test/test_soap1.c index eb2ba11..a9e3cdf 100644 --- a/test/test_soap1.c +++ b/test/test_soap1.c @@ -1,7 +1,10 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ +#if HAVE_CONFIG_H +#include +#endif #include #if YAZ_HAVE_XML2 @@ -26,10 +29,10 @@ void tst(void) top = xmlNewNode(0, BAD_CAST "top"); YAZ_CHECK(top); - + xmlNewTextChild(top, 0, BAD_CAST "sub", BAD_CAST val); xmlDocSetRootElement(doc, top); - + xmlDocDumpMemory(doc, &buf_out, &len_out); #if 0 printf("%*s", len_out, buf_out);