aboutsummaryrefslogtreecommitdiff
path: root/lib/inet_pton.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inet_pton.h')
-rw-r--r--lib/inet_pton.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/inet_pton.h b/lib/inet_pton.h
index d758e06d2..019cd3269 100644
--- a/lib/inet_pton.h
+++ b/lib/inet_pton.h
@@ -27,6 +27,9 @@
#ifdef HAVE_INET_PTON
#define Curl_inet_pton(x,y,z) inet_pton(x,y,z)
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
#else
int Curl_inet_pton(int, const char *, void *);
#endif