summaryrefslogtreecommitdiffstats
path: root/src/common/memory_util.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-11 01:36:12 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-11 01:36:12 +0200
commit867c28ae03b3b2883713896765f3ff76eaf90a19 (patch)
tree8ff8cf3ab24d2f167c19217efb8175a8841c0359 /src/common/memory_util.h
parentMerge pull request #906 from aroulin/loader-format-specifier-warning (diff)
parentCore: Cleanup hw includes. (diff)
downloadyuzu-867c28ae03b3b2883713896765f3ff76eaf90a19.tar
yuzu-867c28ae03b3b2883713896765f3ff76eaf90a19.tar.gz
yuzu-867c28ae03b3b2883713896765f3ff76eaf90a19.tar.bz2
yuzu-867c28ae03b3b2883713896765f3ff76eaf90a19.tar.lz
yuzu-867c28ae03b3b2883713896765f3ff76eaf90a19.tar.xz
yuzu-867c28ae03b3b2883713896765f3ff76eaf90a19.tar.zst
yuzu-867c28ae03b3b2883713896765f3ff76eaf90a19.zip
Diffstat (limited to 'src/common/memory_util.h')
-rw-r--r--src/common/memory_util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/memory_util.h b/src/common/memory_util.h
index 9fdbf1f12..9bf37c44f 100644
--- a/src/common/memory_util.h
+++ b/src/common/memory_util.h
@@ -4,9 +4,7 @@
#pragma once
-#ifndef _WIN32
-#include <sys/mman.h>
-#endif
+#include <cstddef>
#include <string>
void* AllocateExecutableMemory(size_t size, bool low = true);