diff --git a/example/netinet_compat.h b/example/netinet_compat.h index f6afb6c..cc1d886 100644 --- a/example/netinet_compat.h +++ b/example/netinet_compat.h @@ -41,6 +41,9 @@ typedef struct ether_header EthHdr; #define IPPROTO_MH 135 #endif +#if defined(__linux__) +#define __FAVOR_BSD +#endif #include typedef struct tcphdr TcpHdr;