aboutsummaryrefslogtreecommitdiffstats
path: root/src/condition.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/condition.c')
-rw-r--r--src/condition.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/condition.c b/src/condition.c
index e71dcdd88..c1fe8ed18 100644
--- a/src/condition.c
+++ b/src/condition.c
@@ -21,6 +21,9 @@
#include "utils.h"
#include "log.h"
+#include <sys/time.h>
+#include <string.h>
+
void cond_init(struct condition *cond)
{
xpthread_mutex_init(&cond->mutex, NULL);