Skip to content
Snippets Groups Projects
Commit 2cd44aba authored by Yang Tse's avatar Yang Tse
Browse files

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

parent 4b486ebb
No related branches found
No related tags found
No related merge requests found
......@@ -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
]],[[
......
......@@ -22,7 +22,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 37
# serial 38
dnl CURL_INCLUDES_ARPA_INET
......@@ -1004,6 +1004,7 @@ dnl HAVE_GETADDRINFO will be defined.
AC_DEFUN([CURL_CHECK_FUNC_GETADDRINFO], [
AC_REQUIRE([CURL_INCLUDES_WS2TCPIP])dnl
AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl
AC_REQUIRE([CURL_INCLUDES_STRING])dnl
AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl
AC_REQUIRE([CURL_INCLUDES_NETDB])dnl
#
......@@ -1074,6 +1075,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETADDRINFO], [
AC_LANG_PROGRAM([[
$curl_includes_ws2tcpip
$curl_includes_stdlib
$curl_includes_string
$curl_includes_sys_socket
$curl_includes_netdb
]],[[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment