From: Guus Sliepen Date: Mon, 18 Mar 2002 14:19:02 +0000 (+0000) Subject: #define s6_addr32, needed for FreeBSD. X-Git-Tag: release-1.0pre6~37 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=813c369a8faca94fc38bc66afafad063fa00f928;p=tinc #define s6_addr32, needed for FreeBSD. --- diff --git a/src/netutl.c b/src/netutl.c index c7c2a2d8..d3964089 100644 --- a/src/netutl.c +++ b/src/netutl.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: netutl.c,v 1.12.4.30 2002/03/17 16:08:39 guus Exp $ + $Id: netutl.c,v 1.12.4.31 2002/03/18 14:19:02 guus Exp $ */ #include "config.h" @@ -43,6 +43,10 @@ #include "system.h" +#ifndef s6_addr32 +#define s6_addr32 in6_u.u6_addr32 +#endif + int hostnames = 0; /*