From: Roy Marples Date: Sat, 12 Sep 2015 20:51:56 +0000 (+0000) Subject: Fix compile on FreeBSD. X-Git-Tag: v6.9.4~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0ba4e05fac22780a2e3d8c458970f89ba3ba4cc;p=thirdparty%2Fdhcpcd.git Fix compile on FreeBSD. --- diff --git a/ipv6.c b/ipv6.c index b7d245fd..fbb87813 100644 --- a/ipv6.c +++ b/ipv6.c @@ -37,9 +37,12 @@ #ifdef BSD /* Purely for the ND6_IFF_AUTO_LINKLOCAL #define which is solely used - * to generate the our CAN_ADD_LLADDR #define. */ -#include -#include + * to generate our CAN_ADD_LLADDR #define. */ +# ifdef __FreeBSD__ +# include +# endif +# include +# include #endif #include