summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MemoryUtil.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-02-23 03:34:10 +0100
committerPierre Bourdon <delroth@gmail.com>2014-02-23 03:34:10 +0100
commit7cabe1772e25295eda5dc240aee3b3d5d26d928c (patch)
tree197b44f18dfaaf7d22f3b92bb1df64dac3eac9ba /Source/Core/Common/MemoryUtil.cpp
parent9fa0fda7d6749970d12f62faeb5ae97fff91cd13 (diff)
parentf344a43657f609343fec125f374e014692e4ca6a (diff)
Merge pull request #91 from delroth/iwyu
Include-what-you-use suggested fixes.
Diffstat (limited to 'Source/Core/Common/MemoryUtil.cpp')
-rw-r--r--Source/Core/Common/MemoryUtil.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Core/Common/MemoryUtil.cpp b/Source/Core/Common/MemoryUtil.cpp
index e65f0a1cbb..cc6d569036 100644
--- a/Source/Core/Common/MemoryUtil.cpp
+++ b/Source/Core/Common/MemoryUtil.cpp
@@ -2,17 +2,19 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
+#include <cstddef>
+#include <cstdlib>
+#include <string>
#include "Common/Common.h"
-#include "Common/MemoryUtil.h"
-#include "Common/StringUtil.h"
#ifdef _WIN32
#include <windows.h>
#include <psapi.h>
+#include "Common/StringUtil.h"
#else
-#include <errno.h>
#include <stdio.h>
+#include <sys/mman.h>
#endif
#if !defined(_WIN32) && defined(__x86_64__) && !defined(MAP_32BIT)