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