blob: 22b7555f190e4696738444270b712f911e1a816e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- v8/src/diagnostics/perf-jit.cc.orig 2022-02-07 13:39:41 UTC
+++ v8/src/diagnostics/perf-jit.cc
@@ -30,7 +30,7 @@
#include "src/common/assert-scope.h"
// Only compile the {PerfJitLogger} on Linux.
-#if V8_OS_LINUX
+#if defined(V8_OS_LINUX) || defined(V8_OS_BSD)
#include <fcntl.h>
#include <sys/mman.h>
|