summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-01-01 18:15:55 +0100
committerMitya Selivanov <automainint@guattari.tech>2023-01-01 18:15:55 +0100
commite6451dae35a962fba59a450b2a22d80e64399fe4 (patch)
tree3c09237b475a1fc026ce16806cd49b3454ab14cf /source
parentd73b3ebf3b914fc1ebc32025626a50786e99438b (diff)
downloadkit-e6451dae35a962fba59a450b2a22d80e64399fe4.zip
Fix includes order
Diffstat (limited to 'source')
-rw-r--r--source/kit/thread.posix.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/kit/thread.posix.c b/source/kit/thread.posix.c
index 52f52ad..12bdd05 100644
--- a/source/kit/thread.posix.c
+++ b/source/kit/thread.posix.c
@@ -1,6 +1,11 @@
#ifndef KIT_DISABLE_SYSTEM_THREADS
# if !defined(_WIN32) || defined(__CYGWIN__)
+# include "allocator.h"
+# include "condition_variable.h"
+# include "mutex.h"
+# include "thread.h"
+
# include <assert.h>
# include <errno.h>
# include <limits.h>
@@ -9,11 +14,6 @@
# include <stdlib.h>
# include <unistd.h>
-# include "allocator.h"
-# include "condition_variable.h"
-# include "mutex.h"
-# include "thread.h"
-
# ifndef PTHREAD_STACK_MIN
# define PTHREAD_STACK_MIN 16384
# endif