libpcap: Fix build when PACKAGECONFIG ipv6 is not enabled
[openwrt/staging/mkresin.git] / package / libs / libpcap / patches / 203-undef_iw_mode_monitor.patch
1 --- a/pcap-linux.c
2 +++ b/pcap-linux.c
3 @@ -263,6 +263,8 @@
4 typedef int socklen_t;
5 #endif
6
7 +#undef IW_MODE_MONITOR
8 +
9 #ifndef MSG_TRUNC
10 /*
11 * This is being compiled on a system that lacks MSG_TRUNC; define it