mirror of
https://github.com/curl/curl.git
synced 2026-06-05 06:34:17 +03:00
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.
This commit is contained in:
parent
fdf9900114
commit
b222b2304e
2 changed files with 14 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue