aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/socks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/socks.c b/lib/socks.c
index cd40d37e9..f6885b81d 100644
--- a/lib/socks.c
+++ b/lib/socks.c
@@ -31,6 +31,9 @@
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
#include "urldata.h"
#include "sendf.h"