summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/file_util.cpp1
-rw-r--r--src/common/memory_util.cpp1
-rw-r--r--src/common/string_util.cpp2
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 @@
10 10
11#ifdef _WIN32 11#ifdef _WIN32
12#include <windows.h> 12#include <windows.h>
13// windows.h needs to be included before other windows headers
13#include <commdlg.h> // for GetSaveFileName 14#include <commdlg.h> // for GetSaveFileName
14#include <direct.h> // getcwd 15#include <direct.h> // getcwd
15#include <io.h> 16#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 @@
7 7
8#ifdef _WIN32 8#ifdef _WIN32
9#include <windows.h> 9#include <windows.h>
10// Windows.h needs to be included before psapi.h
10#include <psapi.h> 11#include <psapi.h>
11#include "common/common_funcs.h" 12#include "common/common_funcs.h"
12#include "common/string_util.h" 13#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 @@
12#include "common/logging/log.h" 12#include "common/logging/log.h"
13#include "common/string_util.h" 13#include "common/string_util.h"
14#ifdef _MSC_VER 14#ifdef _MSC_VER
15#include <Windows.h>
16#include <codecvt> 15#include <codecvt>
16#include <Windows.h>
17#include "common/common_funcs.h" 17#include "common/common_funcs.h"
18#else 18#else
19#include <iconv.h> 19#include <iconv.h>