From: Adam Dickmeiss Date: Thu, 20 May 2010 12:15:32 +0000 (+0200) Subject: Add various #if HAVE_- for headers X-Git-Tag: v4.0.9~3^2 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=3c02165cdeb68fb7fc19637829f24e0952be7224;p=yaz-moved-to-github.git Add various #if HAVE_- for headers --- 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];