summaryrefslogtreecommitdiffstats
path: root/net/6tunnel/files/patch-configure.in
blob: e7d373221c5a99c933552abc0e0ef8f9b42ca0aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure.in.orig	Sun Nov 24 03:59:24 2002
+++ configure.in	Fri Sep  2 16:04:11 2005
@@ -18,7 +18,9 @@
 AC_CHECK_FUNCS(getaddrinfo, , AC_MSG_ERROR([Your system doesn't support IPv6.]))
 
 AC_MSG_CHECKING([for AF_INET6])
-AC_TRY_COMPILE([#include <netinet/in.h>], [int x = AF_INET6;], [
+AC_TRY_COMPILE([#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>], [int x = AF_INET6;], [
 	AC_MSG_RESULT(yes)
 ], [
 	AC_MSG_RESULT(no)
OpenPOWER on IntegriCloud