projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dc39eb
)
Add various #if HAVE_- for headers
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 20 May 2010 12:15:32 +0000
(14:15 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 20 May 2010 12:15:32 +0000
(14:15 +0200)
src/spipe.c
patch
|
blob
|
history
diff --git
a/src/spipe.c
b/src/spipe.c
index
f42c8f1
..
52c922a
100644
(file)
--- a/
src/spipe.c
+++ b/
src/spipe.c
@@
-49,10
+49,18
@@
#include <sys/socket.h>
#endif
+#if HAVE_NETINET_IN_H
#include <netinet/in.h>
+#endif
+#if HAVE_NETDB_H
#include <netdb.h>
+#endif
+#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
+#endif
+#if HAVE_NETINET_TCP_H
#include <netinet/tcp.h>
+#endif
struct yaz_spipe {
int m_fd[2];