Commit 1d0f4263 authored by Jakob Kummerow's avatar Jakob Kummerow Committed by Commit Bot

[mac-arm64] Fix missing #include

For an "#if defined(MAP_JIT)" test to work as expected, <sys/mman.h>
must be included in the compilation unit.

Bug: chromium:1144200
Change-Id: Ia0bf35ec1872c02457f1fbc0ee6689c7f7d27d4a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2517689Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Reviewed-by: 's avatarNico Weber <thakis@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70986}
parent 70c05ce8
......@@ -6,6 +6,10 @@
#include "src/base/platform/platform.h"
#if V8_OS_MACOSX
#include <sys/mman.h> // For MAP_JIT.
#endif
namespace v8 {
namespace base {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment