aboutsummaryrefslogtreecommitdiffstats
path: root/package/libpcap/patches/203-undef_iw_mode_monitor.patch
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2010-03-08 14:21:32 +0000
committerTravis Kemen <thepeople@openwrt.org>2010-03-08 14:21:32 +0000
commitc859a20e69fbc692026e5a18c166e42d000d7d70 (patch)
treee2f3d074d3a9edc60e7bbea0c8e6d6c1bb9d2bea /package/libpcap/patches/203-undef_iw_mode_monitor.patch
parentd48992b62b968d3913a80e9fd63c5035827ff514 (diff)
downloadupstream-c859a20e69fbc692026e5a18c166e42d000d7d70.tar.gz
upstream-c859a20e69fbc692026e5a18c166e42d000d7d70.tar.bz2
upstream-c859a20e69fbc692026e5a18c166e42d000d7d70.zip
fix missing parts of r19997.
SVN-Revision: 20057
Diffstat (limited to 'package/libpcap/patches/203-undef_iw_mode_monitor.patch')
-rw-r--r--package/libpcap/patches/203-undef_iw_mode_monitor.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libpcap/patches/203-undef_iw_mode_monitor.patch b/package/libpcap/patches/203-undef_iw_mode_monitor.patch
new file mode 100644
index 0000000000..5339781fbc
--- /dev/null
+++ b/package/libpcap/patches/203-undef_iw_mode_monitor.patch
@@ -0,0 +1,11 @@
+--- a/pcap-linux.c
++++ b/pcap-linux.c
+@@ -194,6 +194,8 @@ static const char rcsid[] _U_ =
+ typedef int socklen_t;
+ #endif
+
++#undef IW_MODE_MONITOR
++
+ #ifndef MSG_TRUNC
+ /*
+ * This is being compiled on a system that lacks MSG_TRUNC; define it