summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-11-09 17:50:52 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-11-09 17:50:52 (GMT)
commitc010b6d9e0fe4a9c9c7c9f8379e913d3e77f8347 (patch)
treebc02ef957607897c68facce083e72283a5d5cebc /configure.in
parent75edc6a03331c41473d487853a7768b503f192b0 (diff)
downloadcpython-c010b6d9e0fe4a9c9c7c9f8379e913d3e77f8347.zip
cpython-c010b6d9e0fe4a9c9c7c9f8379e913d3e77f8347.tar.gz
cpython-c010b6d9e0fe4a9c9c7c9f8379e913d3e77f8347.tar.bz2
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f90b692..34a0806 100644
--- a/configure.in
+++ b/configure.in
@@ -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);
], [