diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 02:39:03 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 02:39:03 +0000 |
commit | e41eba0d3456e9c1af7d4dedf8b8d8c086e0582c (patch) | |
tree | 9e6f530f6d1b40d88869ebc8ebd38b731835c565 | |
parent | ccceabd36ed168eefd785fb4fb720a577482fec1 (diff) | |
download | knemo-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
-rw-r--r-- | src/knemod/backends/sysbackend.cpp | 4 |
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" |