diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-21 09:13:46 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-21 09:16:33 +0200 |
commit | f120e78b5692e1c710f2335d36fd0593c447a613 (patch) | |
tree | 7662a45ec3da3e99f3fcd47cd502d0cd5192e49b /src/common | |
parent | Use negative priorities to avoid special-casing the self-include (diff) | |
download | yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.gz yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.bz2 yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.lz yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.xz yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.zst yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/file_util.cpp | 1 | ||||
-rw-r--r-- | src/common/memory_util.cpp | 1 | ||||
-rw-r--r-- | src/common/string_util.cpp | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 7a21962cc..14cbcac6b 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -10,6 +10,7 @@ #ifdef _WIN32 #include <windows.h> +// windows.h needs to be included before other windows headers #include <commdlg.h> // for GetSaveFileName #include <direct.h> // getcwd #include <io.h> diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp index e19d7202a..c19729b21 100644 --- a/src/common/memory_util.cpp +++ b/src/common/memory_util.cpp @@ -7,6 +7,7 @@ #ifdef _WIN32 #include <windows.h> +// Windows.h needs to be included before psapi.h #include <psapi.h> #include "common/common_funcs.h" #include "common/string_util.h" diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp index ca97e8ab4..596ae01bf 100644 --- a/src/common/string_util.cpp +++ b/src/common/string_util.cpp @@ -12,8 +12,8 @@ #include "common/logging/log.h" #include "common/string_util.h" #ifdef _MSC_VER -#include <Windows.h> #include <codecvt> +#include <Windows.h> #include "common/common_funcs.h" #else #include <iconv.h> |