summaryrefslogtreecommitdiff
path: root/src/ipcpd/tests/timerwheel_test.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-02-09 23:44:19 +0100
committerdimitri staessens <[email protected]>2017-02-09 23:45:50 +0100
commit4ab16c933f829f51d202c77cfb98f552ad887159 (patch)
tree6dd868eea3d699a67810f1e18365e902d6db228c /src/ipcpd/tests/timerwheel_test.c
parent773502eb6c8dd6fc1611a2140786e281d2af404a (diff)
downloadouroboros-4ab16c933f829f51d202c77cfb98f552ad887159.tar.gz
ouroboros-4ab16c933f829f51d202c77cfb98f552ad887159.zip
lib, ipcp: Correctly init condvars
The timerwheel and RIB use timedwaits. The condition variables are now correctly initialised to use the configuration defined clock.
Diffstat (limited to 'src/ipcpd/tests/timerwheel_test.c')
-rw-r--r--src/ipcpd/tests/timerwheel_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipcpd/tests/timerwheel_test.c b/src/ipcpd/tests/timerwheel_test.c
index 1ace1371..23de403a 100644
--- a/src/ipcpd/tests/timerwheel_test.c
+++ b/src/ipcpd/tests/timerwheel_test.c
@@ -24,6 +24,7 @@
#include <pthread.h>
#include <time.h>
#include <stdlib.h>
+#include <stdio.h>
#define MAX_ELEMENTS 100
#define MAX_RESOLUTION 10 /* ms */