f847a5e7547ea5cf3f5e0b1fde96d194132b67ae
[openwrt/staging/ynezz.git] / package / libs / libpcap / patches / 203-undef_iw_mode_monitor.patch
1 --- a/pcap-linux.c
2 +++ b/pcap-linux.c
3 @@ -254,6 +254,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