blob: 3c55690e02aa33aa9543181408505a5d24f9a066 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- v8/src/diagnostics/perf-jit.cc.orig 2023-10-11 18:22:24 UTC
+++ v8/src/diagnostics/perf-jit.cc
@@ -31,7 +31,7 @@
#include "src/flags/flags.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>
|