summaryrefslogtreecommitdiff
path: root/src/common/memory_util.cpp
diff options
context:
space:
mode:
authorGravatar Emmanuel Gil Peyrot2015-06-21 13:12:49 +0100
committerGravatar Emmanuel Gil Peyrot2015-06-28 00:36:54 +0100
commit2d044a67c932403b81fdde6f81d461c6e7c11efe (patch)
tree84e423036be6e126d39ad18b02662f6ea6677ea1 /src/common/memory_util.cpp
parentCommon: Cleanup profiler includes. (diff)
downloadyuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.tar.gz
yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.tar.xz
yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.zip
Common: Cleanup memory and misc includes.
Diffstat (limited to '')
-rw-r--r--src/common/memory_util.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp
index 20b791a10..2b3ace528 100644
--- a/src/common/memory_util.cpp
+++ b/src/common/memory_util.cpp
@@ -3,14 +3,17 @@
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5 5
6#include "common/common_funcs.h"
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "common/memory_util.h" 7#include "common/memory_util.h"
9#include "common/string_util.h"
10 8
11#ifdef _WIN32 9#ifdef _WIN32
12#include <windows.h> 10 #include <windows.h>
13#include <psapi.h> 11 #include <psapi.h>
12 #include "common/common_funcs.h"
13 #include "common/string_util.h"
14#else
15 #include <cstdlib>
16 #include <sys/mman.h>
14#endif 17#endif
15 18
16#if !defined(_WIN32) && defined(__x86_64__) && !defined(MAP_32BIT) 19#if !defined(_WIN32) && defined(__x86_64__) && !defined(MAP_32BIT)