Commit c010b6d9 authored by Martin v. Löwis's avatar Martin v. Löwis

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
parent 75edc6a0
This diff is collapsed.
......@@ -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);
], [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment