summaryrefslogtreecommitdiffstats
path: root/zix/sem.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-06 17:04:21 +0100
committerDavid Robillard <d@drobilla.net>2019-01-06 17:04:21 +0100
commit5807e4a873730fdb245b3c39913fc6acb3779f8a (patch)
tree0dd771ec001522848c37709a15af8692f9713208 /zix/sem.h
parentef51139dfb60850c9ee4f6d9ea4ea7bfbc4aa15a (diff)
downloadzix-5807e4a873730fdb245b3c39913fc6acb3779f8a.tar.gz
zix-5807e4a873730fdb245b3c39913fc6acb3779f8a.tar.bz2
zix-5807e4a873730fdb245b3c39913fc6acb3779f8a.zip
Clean up includes
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