Fix test so that it passes without libxml2-dev
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 1 Feb 2006 19:53:00 +0000 (19:53 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 1 Feb 2006 19:53:00 +0000 (19:53 +0000)
test/tstsoap2.c

index b424ebc..8884920 100644 (file)
@@ -2,17 +2,17 @@
  * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
  * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: tstsoap2.c,v 1.3 2006-01-29 21:59:13 adam Exp $
+ * $Id: tstsoap2.c,v 1.4 2006-02-01 19:53:00 adam Exp $
  */
 
 #include <stdlib.h>
  */
 
 #include <stdlib.h>
-#if HAVE_XML2
-#include <libxml/parser.h>
-
 #include <yaz/test.h>
 #include <yaz/srw.h>
 #include <yaz/soap.h>
 
 #include <yaz/test.h>
 #include <yaz/srw.h>
 #include <yaz/soap.h>
 
+#if HAVE_XML2
+#include <libxml/parser.h>
+
 static void tst_srw(void)
 {
     const char *charset = 0;
 static void tst_srw(void)
 {
     const char *charset = 0;