summaryrefslogtreecommitdiffstats
path: root/wifi/interface_wireless_wirelessextensions.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-24 06:09:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-24 06:09:36 +0000
commit1fdcb0e5ceda9b53334b322093df879b8ff52799 (patch)
treeda3f10d5d11a3a392707f83da02a1bfc04293436 /wifi/interface_wireless_wirelessextensions.cpp
parent5ec1af2231a7b4de5b26e0208b957b1de167b6c9 (diff)
downloadtdenetwork-1fdcb0e5ceda9b53334b322093df879b8ff52799.tar.gz
tdenetwork-1fdcb0e5ceda9b53334b322093df879b8ff52799.zip
Fixes for new iwlib
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1106905 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wifi/interface_wireless_wirelessextensions.cpp')
-rw-r--r--wifi/interface_wireless_wirelessextensions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/wifi/interface_wireless_wirelessextensions.cpp b/wifi/interface_wireless_wirelessextensions.cpp
index 58abe9c9..874eefb3 100644
--- a/wifi/interface_wireless_wirelessextensions.cpp
+++ b/wifi/interface_wireless_wirelessextensions.cpp
@@ -30,6 +30,10 @@
#include <arts/referenceclean.h>
#endif
+#ifndef PROC_NET_DEV
+#define PROC_NET_DEV "/proc/net/dev"
+#endif
+
#include <iostream>
#include <string>
#include <klocale.h>