mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 07:38:49 -05:00
Yang Tse's fix of the inet_pton check
This commit is contained in:
parent
0fd282b078
commit
84d30dffb6
@ -1604,7 +1604,8 @@ AC_CHECK_DECL(basename, ,
|
||||
)
|
||||
|
||||
AC_CHECK_DECL(inet_pton, ,
|
||||
AC_DEFINE(HAVE_NO_INET_PTON_PROTO),
|
||||
AC_DEFINE(HAVE_NO_INET_PTON_PROTO, 1,
|
||||
[Defined if no inet_pton() prototype available]),
|
||||
[
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
|
Loading…
Reference in New Issue
Block a user