summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 02:39:03 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 02:39:03 +0000
commite41eba0d3456e9c1af7d4dedf8b8d8c086e0582c (patch)
tree9e6f530f6d1b40d88869ebc8ebd38b731835c565 /src
parentccceabd36ed168eefd785fb4fb720a577482fec1 (diff)
downloadknemo-e41eba0d3456e9c1af7d4dedf8b8d8c086e0582c.tar.gz
knemo-e41eba0d3456e9c1af7d4dedf8b8d8c086e0582c.zip
Compilation fix with new iwlib.h
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knemo@1091581 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src')
-rw-r--r--src/knemod/backends/sysbackend.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/knemod/backends/sysbackend.cpp b/src/knemod/backends/sysbackend.cpp
index 2caf325..e0162ad 100644
--- a/src/knemod/backends/sysbackend.cpp
+++ b/src/knemod/backends/sysbackend.cpp
@@ -43,6 +43,10 @@
#include <net/if.h>
#endif
+#ifndef KILO
+#define KILO 1e3
+#endif
+
#define RTF_GATEWAY 0x0002
#define SYSPATH "/sys/class/net/"
#define PROCROUTE "/proc/net/route"