summaryrefslogtreecommitdiffstats
path: root/source/core/slang-io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-io.cpp')
-rw-r--r--source/core/slang-io.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/core/slang-io.cpp b/source/core/slang-io.cpp
index 928026267..edd21639b 100644
--- a/source/core/slang-io.cpp
+++ b/source/core/slang-io.cpp
@@ -15,9 +15,12 @@
#include <sys/stat.h>
#ifdef _WIN32
-# include <direct.h>
-# include <windows.h>
-# include <shellapi.h>
+// clang-format off
+// include ordering sensitive
+# include <windows.h>
+# include <direct.h>
+# include <shellapi.h>
+// clang-format on
#endif
#if defined(__linux__) || defined(__CYGWIN__) || SLANG_APPLE_FAMILY || SLANG_WASM