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:
parent
75edc6a033
commit
c010b6d9e0
|
@ -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);
|
||||
], [
|
||||
|
|
Loading…
Reference in New Issue