I don't know why but commented the preprocess macro out seems to fix it ```patch diff --git a/src/network/layer2.c b/src/network/layer2.c index f6703ed..d220862 100644 --- a/src/network/layer2.c +++ b/src/network/layer2.c @@ -29,7 +29,7 @@ /* * Freebsd and Cygwin doesn't define 'ethhdr' */ -#if defined(__FreeBSD__) || defined(__CYGWIN__) +/* #if defined(__FreeBSD__) || defined(__CYGWIN__) */ #define ETH_ALEN 6 /* Octets in one ethernet addr */ #define ETH_P_IP 0x0800 /* Internet Protocol packet */ @@ -41,7 +41,7 @@ struct ethhdr { unsigned char h_source[ETH_ALEN]; u_int16_t h_proto; } __attribute__((packed)); -#endif +/* #endif */ #include /* for DLT_IEEE802_11_RADIO, DLT_IEEE802_11 */ ```