aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-v8_src_diagnostics_perf-jit.cc
blob: afa1e84e4333b1f4827de36b6f368dcb1a4ae2f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- v8/src/diagnostics/perf-jit.cc.orig	2021-06-11 10:18:03 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_FREEBSD)
 
 #include <fcntl.h>
 #include <sys/mman.h>