You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/python-iwscan/files/python-iwscan-20080402-wire...

15 lines
366 B

--- 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