Skip to content

Commit 91728cf

Browse files
author
foobar
committed
MFH
1 parent f5a8e15 commit 91728cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configure.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,8 @@ AC_TYPE_UID_T
350350

351351
dnl Check for IPv6 support
352352
AC_CACHE_CHECK([for IPv6 support], ac_cv_ipv6_support,
353-
[AC_TRY_COMPILE([#include <sys/socket.h>
353+
[AC_TRY_COMPILE([ #include <sys/types.h>
354+
#include <sys/socket.h>
354355
#include <netinet/in.h>], [struct sockaddr_in6 s; int i=AF_INET6; s],
355356
ac_cv_ipv6_support=yes, ac_cv_ipv6_support=no)])
356357
if test "$ac_cv_ipv6_support" = yes; then

0 commit comments

Comments
 (0)