summaryrefslogtreecommitdiffstats
path: root/src/common/memory_util.h
diff options
context:
space:
mode:
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);