aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/windows/windows-fs-factory.cpp2
-rw-r--r--backends/fs/windows/windows-fs.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/backends/fs/windows/windows-fs-factory.cpp b/backends/fs/windows/windows-fs-factory.cpp
index 9d1b13a0c9..86f28a7e4b 100644
--- a/backends/fs/windows/windows-fs-factory.cpp
+++ b/backends/fs/windows/windows-fs-factory.cpp
@@ -25,8 +25,8 @@
// Disable symbol overrides so that we can use system headers.
#define FORBIDDEN_SYMBOL_ALLOW_ALL
-#include "backends/fs/windows/windows-fs-factory.h"
#include "backends/fs/windows/windows-fs.h"
+#include "backends/fs/windows/windows-fs-factory.h"
AbstractFSNode *WindowsFilesystemFactory::makeRootFileNode() const {
return new WindowsFilesystemNode();
diff --git a/backends/fs/windows/windows-fs.h b/backends/fs/windows/windows-fs.h
index 4be4cbf57e..f907a4d047 100644
--- a/backends/fs/windows/windows-fs.h
+++ b/backends/fs/windows/windows-fs.h
@@ -23,12 +23,13 @@
#ifndef WINDOWS_FILESYSTEM_H
#define WINDOWS_FILESYSTEM_H
-#include "backends/fs/abstract-fs.h"
-
#include <windows.h>
#ifdef _WIN32_WCE
#undef GetCurrentDirectory
#endif
+
+#include "backends/fs/abstract-fs.h"
+
#include <io.h>
#include <stdio.h>
#include <stdlib.h>