--- cargo-crates/v8-149.2.0/v8/src/api/api.cc.orig	2006-07-24 01:21:28 UTC
+++ cargo-crates/v8-149.2.0/v8/src/api/api.cc
@@ -167,7 +167,7 @@
 
 #include "src/strings/string-hasher-inl.h"
 
-#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD
+#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD || V8_OS_OPENBSD
 #include <signal.h>
 #include <unistd.h>
 
@@ -6384,7 +6384,7 @@ bool v8::V8::Initialize(const int build_config) {
   return true;
 }
 
-#if V8_OS_LINUX || V8_OS_DARWIN
+#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD
 bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info,
                                    void* context) {
 #if V8_ENABLE_WEBASSEMBLY && V8_TRAP_HANDLER_SUPPORTED
