X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft15.c;h=b0e93ad5f2335b51f25bc99cb6c0c78a114ef1f6;hb=97a7adeb9e5059463f039495cc01cfa448463a27;hp=9a91f8e2c672c0a88307fb05b18c6f188bdfef78;hpb=01f520729f8ee69cc740d7db430a4c4f4887a589;p=idzebra-moved-to-github.git diff --git a/test/api/t15.c b/test/api/t15.c index 9a91f8e..b0e93ad 100644 --- a/test/api/t15.c +++ b/test/api/t15.c @@ -1,8 +1,5 @@ -/* $Id: t15.c,v 1.10 2006-11-23 21:35:02 adam Exp $ - Copyright (C) 2004-2006 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1995-2008 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -32,9 +29,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #if HAVE_SYS_WAIT_H #include #endif +#if HAVE_SYS_UTSNAME_H +#include +#endif #include -#include #include "testlib.h" @@ -111,6 +110,7 @@ static void tst(int argc, char **argv) #if HAVE_SYS_WAIT_H #if HAVE_UNISTD_H +#if HAVE_SYS_UTSNAME_H if (1) { @@ -139,6 +139,7 @@ static void tst(int argc, char **argv) } #endif #endif +#endif YAZ_CHECK(tl_close_down(0, zs)); }