projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed yaz.spec.sles
[yaz-moved-to-github.git]
/
src
/
tcpdchk.c
diff --git
a/src/tcpdchk.c
b/src/tcpdchk.c
index
98bdc2b
..
96c2f9a
100644
(file)
--- a/
src/tcpdchk.c
+++ b/
src/tcpdchk.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2008 Index Data
+ * Copyright (C) 1995-2009 Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-22,6
+22,15
@@
#include <netinet/in.h>
#endif
#include <netinet/in.h>
#endif
+#if HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
+
+#if HAVE_SYS_SOCKET_H
+/* freebsd wants this for AF_INET */
+#include <sys/socket.h>
+#endif
+
#if HAVE_NETDB_H
#include <netdb.h>
#endif
#if HAVE_NETDB_H
#include <netdb.h>
#endif