Add sys/types.h and stdio.h into getaddrinfo test, based on itojun's message

in http://mail.python.org/pipermail/python-dev/2001-November/018473.html
This commit is contained in:
Martin v. Löwis 2001-11-09 17:50:52 +00:00
parent 75edc6a033
commit c010b6d9e0
2 changed files with 144 additions and 140 deletions

282
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1431,8 +1431,10 @@ AC_CHECK_FUNCS(gettimeofday, AC_TRY_COMPILE([#include <sys/time.h>], [gettimeofd
# for [no]getaddrinfo in netdb.h.
AC_MSG_CHECKING(for getaddrinfo)
AC_TRY_LINK([
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <stdio.h>
],[
getaddrinfo(NULL, NULL, NULL, NULL);
], [