1
0
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:
Daniel Stenberg 2005-11-29 16:17:53 +00:00
parent 0fd282b078
commit 84d30dffb6

View File

@ -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>