freebsd-ports/www/iridium/files/patch-v8_src_diagnostics_perf-jit.cc
2022-10-06 13:18:10 +02:00

11 lines
319 B
C++

--- v8/src/diagnostics/perf-jit.cc.orig 2022-10-05 07:34:01 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>