summaryrefslogtreecommitdiffstats
path: root/zix/sem.h
diff options
context:
space:
mode:
Diffstat (limited to 'zix/sem.h')
-rw-r--r--zix/sem.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/zix/sem.h b/zix/sem.h
index 1fea796..67e3c52 100644
--- a/zix/sem.h
+++ b/zix/sem.h
@@ -17,6 +17,10 @@
#ifndef ZIX_SEM_H
#define ZIX_SEM_H
+#include "zix/common.h"
+
+#include <stdbool.h>
+
#ifdef __APPLE__
# include <mach/mach.h>
#elif defined(_WIN32)
@@ -27,8 +31,6 @@
# include <errno.h>
#endif
-#include "zix/common.h"
-
#ifdef __cplusplus
extern "C" {
#endif