$NetBSD: patch-src_bpf.c,v 1.6 2015/07/14 09:57:13 fhajny Exp $ Add inet6 include for OS X Fix build on SunOS --- src/bpf.c.orig 2015-06-12 20:39:11.000000000 +0000 +++ src/bpf.c @@ -20,7 +20,9 @@ #include #include +#if defined(HAVE_BSD_NETWORK) #include +#endif #include #include #include @@ -29,7 +31,7 @@ # include #endif #include -#ifdef HAVE_IPV6 +#if (defined(HAVE_IPV6) && !defined(HAVE_SOLARIS_NETWORK)) || defined(__APPLE__) # include #endif