commit c3ea0e9e668ddcd3f780b9c58bf5bda2ea46736f
parent 86434a57c119f19af4536704733c5076efd73d7b
Author: Joris Vink <joris@coders.se>
Date: Fri, 18 Jul 2014 15:51:13 +0200
Include pthread.h in tasks.h, fixes compilation under OpenBSD
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/includes/tasks.h b/includes/tasks.h
@@ -17,6 +17,8 @@
#ifndef __H_KORE_TASKS
#define __H_KORE_TASKS
+#include <pthread.h>
+
#define KORE_TASK_STATE_CREATED 1
#define KORE_TASK_STATE_RUNNING 2
#define KORE_TASK_STATE_FINISHED 3