Loading configure.ac +9 −0 Original line number Diff line number Diff line Loading @@ -1603,6 +1603,15 @@ AC_CHECK_DECL(basename, , #endif ) AC_CHECK_DECL(inet_pton, , AC_DEFINE(HAVE_NO_INET_PTON_PROTO), [ #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif ] ) AC_MSG_CHECKING([if we are Mac OS X (to disable poll)]) disable_poll=no case $host in Loading lib/inet_pton.h +5 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
configure.ac +9 −0 Original line number Diff line number Diff line Loading @@ -1603,6 +1603,15 @@ AC_CHECK_DECL(basename, , #endif ) AC_CHECK_DECL(inet_pton, , AC_DEFINE(HAVE_NO_INET_PTON_PROTO), [ #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif ] ) AC_MSG_CHECKING([if we are Mac OS X (to disable poll)]) disable_poll=no case $host in Loading
lib/inet_pton.h +5 −0 Original line number Diff line number Diff line Loading @@ -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