summaryrefslogtreecommitdiff
path: root/dev-python/python-iwscan/files/python-iwscan-20080402-wireless-tools-30.patch
blob: 16a9dce1858f5af8549a435713b01103816556fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- pyiwscan.c
+++ pyiwscan.c
@@ -13,6 +13,11 @@
 #include <structmember.h>
 #include <iwlib.h>
 
+/* PROC_NET_WIRELESS is defined in iwlib-private.h since wireless-tools-30_pre9 */
+#ifndef PROC_NET_WIRELESS
+#define PROC_NET_WIRELESS "/proc/net/wireless"
+#endif
+
 #define IWSCAN_VERSION_MAJOR  0
 #define IWSCAN_VERSION_MINOR  7
 #define IWSCAN_VERSION_MICRO  0