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
1 changed files with 2 additions and 1 deletions

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>