From 564c9587251d11dc64fdd6e28af8da1f0a0ea1f2 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 14 Nov 2008 14:47:53 +0000 Subject: #include in the getaddrinfo() runtime check for the memset() prototype --- m4/cares-functions.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/m4/cares-functions.m4 b/m4/cares-functions.m4 index 1e9bde9..aff65b8 100644 --- a/m4/cares-functions.m4 +++ b/m4/cares-functions.m4 @@ -16,7 +16,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 20 +# serial 21 dnl CARES_INCLUDES_ARPA_INET @@ -540,6 +540,7 @@ dnl HAVE_GETADDRINFO will be defined. AC_DEFUN([CARES_CHECK_FUNC_GETADDRINFO], [ AC_REQUIRE([CARES_INCLUDES_WS2TCPIP])dnl AC_REQUIRE([CARES_INCLUDES_STDLIB])dnl + AC_REQUIRE([CARES_INCLUDES_STRING])dnl AC_REQUIRE([CARES_INCLUDES_SYS_SOCKET])dnl AC_REQUIRE([CARES_INCLUDES_NETDB])dnl # @@ -610,6 +611,7 @@ AC_DEFUN([CARES_CHECK_FUNC_GETADDRINFO], [ AC_LANG_PROGRAM([[ $cares_includes_ws2tcpip $cares_includes_stdlib + $cares_includes_string $cares_includes_sys_socket $cares_includes_netdb ]],[[ -- cgit v1.2.3