summaryrefslogtreecommitdiff
path: root/lib/inet_pton.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-28 20:21:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-28 20:21:35 +0000
commitb222b2304eb3ee8b169f6ef3efaffe71eb0fde13 (patch)
treed949473684f167553b8e3a2b6e6c53350afa90ab /lib/inet_pton.h
parentfdf9900114a534c6f133b7c496f85cb33d042582 (diff)
downloadcurl-b222b2304eb3ee8b169f6ef3efaffe71eb0fde13.tar.gz
Yang Tse's changes to provide an inet_pton() proto for the platforms who
don't have one in order to fix a remaining warning on IRIX 6.2.
Diffstat (limited to 'lib/inet_pton.h')
-rw-r--r--lib/inet_pton.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/inet_pton.h b/lib/inet_pton.h
index 8331ba9dc..a659a9774 100644
--- a/lib/inet_pton.h
+++ b/lib/inet_pton.h
@@ -28,6 +28,11 @@
int Curl_inet_pton(int, const char *, void *);
#ifdef HAVE_INET_PTON
+
+#if defined(HAVE_NO_INET_PTON_PROTO)
+int inet_pton(int af, const char *src, void *dst);
+#endif
+
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif