aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-02-21 18:05:38 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-02-21 18:05:38 +0000
commit06d1b029f63b9b03dfa3b9bfe34ba1baeb67df29 (patch)
tree52fdddb561d6598055bf85840e269c6c176dba95
parent45bf417301fb0a2efe63a6c9e2b01aeb8587de82 (diff)
Include some possible dependencies of arpa/inet.h
-rw-r--r--lib/socks.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/socks.c b/lib/socks.c
index f6885b81d..d6c29e52e 100644
--- a/lib/socks.c
+++ b/lib/socks.c
@@ -31,6 +31,12 @@
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif