diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-19 05:32:33 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-19 05:32:33 +0000 |
commit | 4ff56b15e9b6e51c914c8d5e4ea23eb247f9ffc6 (patch) | |
tree | c6365a9a9d5917f6ff28d0ffd483699b5e43d937 | |
parent | e6b98d315254788e8fabceba840da3f6dfd6fbd5 (diff) |
Add check for 'unsigned int' as type of arguments 4 and 6 of getnameinfo
-rw-r--r-- | acinclude.m4 | 2 | ||||
-rw-r--r-- | ares/acinclude.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 5149c17a7..c7fdc2f2d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -204,7 +204,7 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [ curl_cv_func_getnameinfo_args="unknown" for gni_arg1 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do for gni_arg2 in 'socklen_t' 'size_t' 'int'; do - for gni_arg46 in 'size_t' 'int' 'socklen_t'; do + for gni_arg46 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do for gni_arg7 in 'int' 'unsigned int'; do AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([ diff --git a/ares/acinclude.m4 b/ares/acinclude.m4 index 56391fc31..4f4e6fefc 100644 --- a/ares/acinclude.m4 +++ b/ares/acinclude.m4 @@ -204,7 +204,7 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [ curl_cv_func_getnameinfo_args="unknown" for gni_arg1 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do for gni_arg2 in 'socklen_t' 'size_t' 'int'; do - for gni_arg46 in 'size_t' 'int' 'socklen_t'; do + for gni_arg46 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do for gni_arg7 in 'int' 'unsigned int'; do AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([ |