--- gencode.c.orig 2021-06-07 20:21:35 UTC +++ gencode.c @@ -59,10 +59,16 @@ #include #include #include -#include #endif /* HAVE_NET_PFVAR_H */ #include "pcap-int.h" + +#ifdef HAVE_NET_PFVAR_H +/* FreeBSD includes from , and indirectly includes + * . The FreeBSD version lacks DLT_IEEE802_15_4_TAP, so we really + * want to use our own version. */ +#include +#endif /* HAVE_NET_PFVAR_H */ #include "extract.h"