forked from Lainports/opnsense-ports
11 lines
311 B
C++
11 lines
311 B
C++
--- v8/src/diagnostics/perf-jit.cc.orig 2023-10-19 20:00:39 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>
|