From 7f9d185d83803f1aff3b82da0bd9ed91c81b823a Mon Sep 17 00:00:00 2001 From: pdw <> Date: Mon, 3 Oct 2011 18:19:13 +0000 Subject: [PATCH] =?UTF-8?q?Updated=20FreeBSD=20compilation=20patch=20from?= =?UTF-8?q?=20Fr=C3=A9d=C3=A9ric=20Perrin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/int_ghba_r.c | 1 + configure.in | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/config/int_ghba_r.c b/config/int_ghba_r.c index 7a3a3c1..6801a94 100644 --- a/config/int_ghba_r.c +++ b/config/int_ghba_r.c @@ -6,6 +6,7 @@ static const char rcsid[] = "$Id$"; +#include #include #include diff --git a/configure.in b/configure.in index 2aee6e3..4cbd612 100644 --- a/configure.in +++ b/configure.in @@ -81,6 +81,14 @@ AC_C_CONST AC_TYPE_SIZE_T AC_HEADER_TIME +dnl At least FeeBSD doesn't define s6_addr32 in user-land code, with a +dnl note saying this is not standard +AC_CHECK_DECL([s6_addr32], + [], + [AC_DEFINE([s6_addr32], [__u6_addr.__u6_addr32], + [Define to a way to access the inner bytes of an ip6 address.])], + [#include ]) + dnl dnl Are we on a system that uses the STREAMS low-level DLPI interface? dnl