aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-04-03 20:54:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-04-03 20:54:37 +0000
commit990b15e40288ad89c423d331b9563d8259284d9c (patch)
treed8a5d199510dc99440fb8d7d10e730393d76bc93 /lib/easy.c
parent584f3639e36f991c0962b9b88165decdc1c8d2c9 (diff)
Rob Jones fixed better #ifdef'ing for a bunch of #include lines.
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c6
1 files changed, 6 insertions, 0 deletions
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 <sys/socket.h>
#endif
+#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
+#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_NETDB_H
#include <netdb.h>
+#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#ifdef HAVE_NET_IF_H
#include <net/if.h>
#endif
+#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
+#endif
#include <signal.h>
#ifdef HAVE_SYS_PARAM_H