summaryrefslogtreecommitdiffstats
path: root/src/common/memory_util.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-21 14:12:49 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-28 01:36:54 +0200
commit2d044a67c932403b81fdde6f81d461c6e7c11efe (patch)
tree84e423036be6e126d39ad18b02662f6ea6677ea1 /src/common/memory_util.cpp
parentCommon: Cleanup profiler includes. (diff)
downloadyuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.tar
yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.tar.gz
yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.tar.bz2
yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.tar.lz
yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.tar.xz
yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.tar.zst
yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.zip
Diffstat (limited to 'src/common/memory_util.cpp')
-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 @@
// Refer to the license.txt file included.
-#include "common/common_funcs.h"
#include "common/logging/log.h"
#include "common/memory_util.h"
-#include "common/string_util.h"
#ifdef _WIN32
-#include <windows.h>
-#include <psapi.h>
+ #include <windows.h>
+ #include <psapi.h>
+ #include "common/common_funcs.h"
+ #include "common/string_util.h"
+#else
+ #include <cstdlib>
+ #include <sys/mman.h>
#endif
#if !defined(_WIN32) && defined(__x86_64__) && !defined(MAP_32BIT)