summaryrefslogtreecommitdiff
path: root/src/common/thread.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-05-16 17:34:16 +0200
committerHaru <haru@dotalux.com>2014-05-16 17:34:16 +0200
commitbc1d286cc71a7ae82d9639f4a832970a287c0d71 (patch)
treee17c392fa7994068148a5567f872797f5e5d9e48 /src/common/thread.c
parentd350bfeb9cc310ec329d968fc57bf4183b7cb527 (diff)
downloadhercules-bc1d286cc71a7ae82d9639f4a832970a287c0d71.tar.gz
hercules-bc1d286cc71a7ae82d9639f4a832970a287c0d71.tar.bz2
hercules-bc1d286cc71a7ae82d9639f4a832970a287c0d71.tar.xz
hercules-bc1d286cc71a7ae82d9639f4a832970a287c0d71.zip
Follow-up to b6b3f58795288701d0e162d43fa6f0a47af913b3
- Includes in some files weren't sorted alphabetically. Special thanks to KeiKun. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/thread.c')
-rw-r--r--src/common/thread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/thread.c b/src/common/thread.c
index bba56e7eb..91360537f 100644
--- a/src/common/thread.c
+++ b/src/common/thread.c
@@ -19,12 +19,12 @@
# define getpagesize() 4096 // @TODO: implement this properly (GetSystemInfo .. dwPageSize..). (Atm as on all supported win platforms its 4k its static.)
# define __thread __declspec( thread )
#else
-# include <stdlib.h>
-# include <unistd.h>
-# include <string.h>
-# include <signal.h>
# include <pthread.h>
# include <sched.h>
+# include <signal.h>
+# include <stdlib.h>
+# include <string.h>
+# include <unistd.h>
#endif
// When Compiling using MSC (on win32..) we know we have support in any case!