fix missing parts of r19997.
[openwrt/svn-archive/archive.git] / package / libpcap / patches / 203-undef_iw_mode_monitor.patch
1 --- a/pcap-linux.c
2 +++ b/pcap-linux.c
3 @@ -194,6 +194,8 @@ static const char rcsid[] _U_ =
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