summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r--src/ipcpd/normal/dht.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipcpd/normal/dht.c b/src/ipcpd/normal/dht.c
index 1f85e4f2..c15dacbc 100644
--- a/src/ipcpd/normal/dht.c
+++ b/src/ipcpd/normal/dht.c
@@ -46,6 +46,10 @@
typedef KadMsg kad_msg_t;
typedef KadContactMsg kad_contact_msg_t;
+#ifndef CLOCK_REALTIME_COARSE
+#define CLOCK_REALTIME_COARSE CLOCK_REALTIME
+#endif
+
#define DHT_MAX_REQS 2048 /* KAD recommends rnd(), bmp can be changed. */
#define KAD_ALPHA 3 /* Parallel factor, proven optimal value. */
#define KAD_K 8 /* Replication factor, MDHT value. */