From: Roy Marples Date: Thu, 5 Jun 2014 14:16:33 +0000 (+0000) Subject: Fix compile on FreeBSD X-Git-Tag: v6.4.0~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3c29afe9c45737fecdd4ef0da8418a795448a0c;p=thirdparty%2Fdhcpcd.git Fix compile on FreeBSD --- diff --git a/ipv6.c b/ipv6.c index cdbfb1f0..5a9e2b14 100644 --- a/ipv6.c +++ b/ipv6.c @@ -38,6 +38,7 @@ #ifdef __linux__ # include /* for systems with broken headers */ # include +# include /* Match Linux defines to BSD */ # ifdef IFA_F_OPTIMISTIC # define IN6_IFF_TENTATIVE (IFA_F_TENTATIVE | IFA_F_OPTIMISTIC) @@ -51,6 +52,7 @@ # endif # define IN6_IFF_DETACHED 0 #else +# include # include #ifdef __FreeBSD__ /* Needed so that including netinet6/in6_var.h works */ # include