summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MemArena.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-02-20 04:11:52 +0100
committerPierre Bourdon <delroth@gmail.com>2014-02-22 23:37:29 +0100
commit83b7bb64aa5e1ee6b18eaa5d08c17bb5b6c57048 (patch)
tree9b633ca7531de6e36a49216ac2db91e8e7879bae /Source/Core/Common/MemArena.cpp
parent65bbfdb8123b4ea3e15b967b5b03b4b4335c0040 (diff)
Make Common/ mostly IWYU clean (and fix errors in rest of the project detected by this change).
Diffstat (limited to 'Source/Core/Common/MemArena.cpp')
-rw-r--r--Source/Core/Common/MemArena.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/Core/Common/MemArena.cpp b/Source/Core/Common/MemArena.cpp
index 4a7c30538c..e4e68fcc80 100644
--- a/Source/Core/Common/MemArena.cpp
+++ b/Source/Core/Common/MemArena.cpp
@@ -2,20 +2,23 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
+#include <cstddef>
+#include <cstdlib>
#include <set>
+#include <string>
+#include "Common/Common.h"
#include "Common/MemArena.h"
-#include "Common/MemoryUtil.h"
#include "Common/StringUtil.h"
#ifdef _WIN32
#include <windows.h>
#else
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
#include <cerrno>
#include <cstring>
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/mman.h>
#ifdef ANDROID
#include <sys/ioctl.h>
#include <linux/ashmem.h>