summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
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);
], [