summaryrefslogtreecommitdiffstats
path: root/package/libpcap/patches/203-undef_iw_mode_monitor.patch
diff options
context:
space:
mode:
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-08 14:21:32 +0000
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-08 14:21:32 +0000
commit63b67a2dd444186308eafe9c6eeccaf62ada4776 (patch)
treea32dbecd989cd9b5d3fd7dfa3c056bfe903d37f7 /package/libpcap/patches/203-undef_iw_mode_monitor.patch
parentc61ed8d07243cfed322b0f6f61d930853bbea792 (diff)
fix missing parts of r19997.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20057 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..5339781fb
--- /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