aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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