From 990b15e40288ad89c423d331b9563d8259284d9c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 3 Apr 2007 20:54:37 +0000 Subject: Rob Jones fixed better #ifdef'ing for a bunch of #include lines. --- lib/easy.c | 6 ++++++ lib/http.c | 4 ++++ lib/transfer.c | 2 ++ lib/url.c | 8 ++++++++ 4 files changed, 20 insertions(+) (limited to 'lib') diff --git a/lib/easy.c b/lib/easy.c index cdd3570a2..6195d21e3 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -40,21 +40,27 @@ #ifdef HAVE_SYS_SOCKET_H #include #endif +#ifdef HAVE_NETINET_IN_H #include +#endif #ifdef HAVE_SYS_TIME_H #include #endif #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_NETDB_H #include +#endif #ifdef HAVE_ARPA_INET_H #include #endif #ifdef HAVE_NET_IF_H #include #endif +#ifdef HAVE_SYS_IOCTL_H #include +#endif #include #ifdef HAVE_SYS_PARAM_H diff --git a/lib/http.c b/lib/http.c index 187c0a43d..884d7e3d2 100644 --- a/lib/http.c +++ b/lib/http.c @@ -54,14 +54,18 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_NETDB_H #include +#endif #ifdef HAVE_ARPA_INET_H #include #endif #ifdef HAVE_NET_IF_H #include #endif +#ifdef HAVE_SYS_IOCTL_H #include +#endif #include #ifdef HAVE_SYS_PARAM_H diff --git a/lib/transfer.c b/lib/transfer.c index c6a6f094c..a7b3a724d 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -50,7 +50,9 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_NETDB_H #include +#endif #ifdef HAVE_ARPA_INET_H #include #endif diff --git a/lib/url.c b/lib/url.c index 60fe028fb..0ae0197d3 100644 --- a/lib/url.c +++ b/lib/url.c @@ -39,22 +39,30 @@ #ifdef HAVE_SYS_SOCKET_H #include #endif +#ifdef HAVE_NETINET_IN_H #include +#endif #ifdef HAVE_SYS_TIME_H #include #endif #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_NETDB_H #include +#endif #ifdef HAVE_ARPA_INET_H #include #endif #ifdef HAVE_NET_IF_H #include #endif +#ifdef HAVE_SYS_IOCTL_H #include +#endif +#if HAVE_SIGNAL_H #include +#endif #ifdef HAVE_SYS_PARAM_H #include -- cgit v1.2.3