aboutsummaryrefslogtreecommitdiffhomepage
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 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);