From: Roy Marples Date: Thu, 16 May 2013 10:48:03 +0000 (+0000) Subject: Fix compile on FreeBSD X-Git-Tag: v5.99.7~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=893406ef0ace59b17ae71f16651a51c3f2d68198;p=thirdparty%2Fdhcpcd.git Fix compile on FreeBSD --- diff --git a/ipv6.c b/ipv6.c index 4a6a57e2..c026dfdd 100644 --- a/ipv6.c +++ b/ipv6.c @@ -38,6 +38,10 @@ # define IN6_IFF_TENTATIVE IFA_F_TENTATIVE | IFA_F_OPTIMISTIC # define IN6_IFF_DUPLICATED IFA_F_DADFAILED #else +#ifdef __FreeBSD__ /* Needed so that including netinet6/in6_var.h works */ +# include +# include +#endif # include #endif