summaryrefslogtreecommitdiffstats
path: root/zix/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'zix/thread.h')
-rw-r--r--zix/thread.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/zix/thread.h b/zix/thread.h
index b007efa..9f05b10 100644
--- a/zix/thread.h
+++ b/zix/thread.h
@@ -17,6 +17,10 @@
#ifndef ZIX_THREAD_H
#define ZIX_THREAD_H
+#include "zix/common.h"
+
+#include <stdbool.h>
+
#ifdef _WIN32
# include <windows.h>
#else
@@ -24,12 +28,8 @@
# include <pthread.h>
#endif
-#include "zix/common.h"
-
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
/**