mirror of
https://github.com/curl/curl.git
synced 2026-05-04 11:11:29 +03:00
Yang Tse's fix of the inet_pton check
This commit is contained in:
parent
0fd282b078
commit
84d30dffb6
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue