projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Omit CVS Id. Update copyright year.
[idzebra-moved-to-github.git]
/
test
/
api
/
t15.c
diff --git
a/test/api/t15.c
b/test/api/t15.c
index
da68b0d
..
b0e93ad
100644
(file)
--- a/
test/api/t15.c
+++ b/
test/api/t15.c
@@
-1,8
+1,5
@@
-/* $Id: t15.c,v 1.9 2006-11-23 21:34:22 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
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,8
+29,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_WAIT_H
#include <sys/wait.h>
#endif
-
+#if HAVE_SYS_UTSNAME_H
#include <sys/utsname.h>
#include <sys/utsname.h>
+#endif
+
+#include <string.h>
#include "testlib.h"
#include "testlib.h"
@@
-110,6
+110,7
@@
static void tst(int argc, char **argv)
#if HAVE_SYS_WAIT_H
#if HAVE_UNISTD_H
#if HAVE_SYS_WAIT_H
#if HAVE_UNISTD_H
+#if HAVE_SYS_UTSNAME_H
if (1)
{
if (1)
{
@@
-138,6
+139,7
@@
static void tst(int argc, char **argv)
}
#endif
#endif
}
#endif
#endif
+#endif
YAZ_CHECK(tl_close_down(0, zs));
}
YAZ_CHECK(tl_close_down(0, zs));
}