Merge pull request #575 from nmaas87/patch-1
[15.05/openwrt.git] / package / libs / libpcap / patches / 203-undef_iw_mode_monitor.patch
1 --- a/pcap-linux.c
2 +++ b/pcap-linux.c
3 @@ -249,6 +249,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