]> granicus.if.org Git - curl/commitdiff
#include <string.h> in the getaddrinfo() runtime check for the memset() prototype
authorYang Tse <yangsita@gmail.com>
Fri, 14 Nov 2008 14:47:53 +0000 (14:47 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 14 Nov 2008 14:47:53 +0000 (14:47 +0000)
ares/m4/cares-functions.m4
m4/curl-functions.m4

index 1e9bde9a5171dea853b4343b750104cc2b7791e8..aff65b8455ae2da645fcd6a24a62acb94e5ebce1 100644 (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
       ]],[[
index 90c7f919498c91bacddcf501cb74428768edf6d6..b25f9b68666a326e356cf2bec50629309e5cf5af 100644 (file)
@@ -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
       ]],[[