Remove @XSLT_LIBS@ from idzebra-config --libs / --lalibs output. XSLT
[idzebra-moved-to-github.git] / test / api / t15.c
index da68b0d..9ff0ccd 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: t15.c,v 1.9 2006-11-23 21:34:22 adam Exp $
+/* $Id: t15.c,v 1.11 2006-11-23 21:38:26 adam Exp $
    Copyright (C) 2004-2006
    Index Data ApS
 
@@ -32,8 +32,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #if HAVE_SYS_WAIT_H
 #include <sys/wait.h>
 #endif
-
+#if HAVE_SYS_UTSNAME_H
 #include <sys/utsname.h>
+#endif
+
+#include <string.h>
 
 #include "testlib.h"
 
@@ -110,6 +113,7 @@ static void tst(int argc, char **argv)
 
 #if HAVE_SYS_WAIT_H
 #if HAVE_UNISTD_H
+#if HAVE_SYS_UTSNAME_H
 
     if (1)
     {
@@ -138,6 +142,7 @@ static void tst(int argc, char **argv)
     }
 #endif
 #endif
+#endif
     YAZ_CHECK(tl_close_down(0, zs));
 }