freebsd-ports/net/6tunnel/files/patch-configure.in
Sergey Matveychuk 675a9c01df - Update to 0.11.r2
PR:		ports/85633
Submitted by:	Andrej Zverev <az@inec.ru>
2005-09-02 14:30:12 +00:00

14 lines
452 B
Plaintext

--- 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)