aboutsummaryrefslogtreecommitdiff
path: root/m4/curl-functions.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-11-14 14:47:53 +0000
committerYang Tse <yangsita@gmail.com>2008-11-14 14:47:53 +0000
commit2cd44abafceb9e1e14fc8d4509594dd12d2e4986 (patch)
tree4763cc66d194cf38c2881d8cc09287652c756c53 /m4/curl-functions.m4
parent4b486ebbc1f578af786333cde4e22e3d56c41622 (diff)
#include <string.h> in the getaddrinfo() runtime check for the memset() prototype
Diffstat (limited to 'm4/curl-functions.m4')
-rw-r--r--m4/curl-functions.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index 90c7f9194..b25f9b686 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -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
]],[[