aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/memory_util.h
diff options
context:
space:
mode:
authorGravatar Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-21 13:12:49 +0100
committerGravatar Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-28 00:36:54 +0100
commit2d044a67c932403b81fdde6f81d461c6e7c11efe (patch)
tree84e423036be6e126d39ad18b02662f6ea6677ea1 /src/common/memory_util.h
parent3a771a13dcfd1de061e886e081393fca1fd1e689 (diff)
Common: Cleanup memory and misc includes.
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 9fdbf1f1..9bf37c44 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);