summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fxcrt/fx_stream.h2
-rw-r--r--core/include/fxcrt/fx_system.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/include/fxcrt/fx_stream.h b/core/include/fxcrt/fx_stream.h
index 263a355fff..b35b63544f 100644
--- a/core/include/fxcrt/fx_stream.h
+++ b/core/include/fxcrt/fx_stream.h
@@ -23,8 +23,8 @@ FX_WCHAR FX_GetFolderSeparator();
#define FX_FILESIZE int32_t
#else
#include <fcntl.h>
-#include <unistd.h>
#include <sys/stat.h>
+#include <unistd.h>
#ifndef O_BINARY
#define O_BINARY 0
#endif
diff --git a/core/include/fxcrt/fx_system.h b/core/include/fxcrt/fx_system.h
index 5ab7f723ad..d52377060a 100644
--- a/core/include/fxcrt/fx_system.h
+++ b/core/include/fxcrt/fx_system.h
@@ -55,13 +55,13 @@
#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
#define _CRT_SECURE_NO_WARNINGS
-#include <sal.h>
#include <windows.h>
+#include <sal.h>
#endif
#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
-#include <libkern/OSAtomic.h>
#include <Carbon/Carbon.h>
+#include <libkern/OSAtomic.h>
#endif
#ifdef __cplusplus