From 3c02165cdeb68fb7fc19637829f24e0952be7224 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 20 May 2010 14:15:32 +0200 Subject: [PATCH] Add various #if HAVE_- for headers --- src/spipe.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/spipe.c b/src/spipe.c index f42c8f1..52c922a 100644 --- a/src/spipe.c +++ b/src/spipe.c @@ -49,10 +49,18 @@ #include #endif +#if HAVE_NETINET_IN_H #include +#endif +#if HAVE_NETDB_H #include +#endif +#if HAVE_ARPA_INET_H #include +#endif +#if HAVE_NETINET_TCP_H #include +#endif struct yaz_spipe { int m_fd[2]; -- 1.7.10.4