From c3c29afe9c45737fecdd4ef0da8418a795448a0c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 5 Jun 2014 14:16:33 +0000 Subject: [PATCH] Fix compile on FreeBSD --- ipv6.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.3