X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_soap1.c;h=6bc0296965287f93fd140b7411fd6f479a83c93c;hb=7c7e37084545799555a7e49e0fb4d3d6f44f3a44;hp=eb2ba11d7974f13fb85d1728724ef44343b031f6;hpb=3107ce3a34993d2f784387f227a50343fff83bbc;p=yaz-moved-to-github.git diff --git a/test/test_soap1.c b/test/test_soap1.c index eb2ba11..6bc0296 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) 1995-2012 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);