summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"