#include <string.h> in the getaddrinfo() runtime check for the memset() prototype

This commit is contained in:
Yang Tse
2008-11-14 14:47:53 +00:00
parent 72cd52972b
commit 564c958725
+3 -1
View File
@@ -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
]],[[