$OpenBSD: patch-sandbox_policy_sandbox_type_h,v 1.2 2021/11/16 11:28:47 robert Exp $

Index: sandbox/policy/sandbox_type.h
--- sandbox/policy/sandbox_type.h.orig
+++ sandbox/policy/sandbox_type.h
@@ -110,7 +110,7 @@ enum class SandboxType {
   kZygoteIntermediateSandbox,
 #endif
 
-#if defined(OS_FUCHSIA)
+#if defined(OS_FUCHSIA) || defined(OS_BSD)
   // Equivalent to no sandbox on all non-Fuchsia platforms.
   // Minimally privileged sandbox on Fuchsia.
   kVideoCapture,
@@ -143,7 +143,7 @@ inline constexpr sandbox::policy::SandboxType MapToSan
     case sandbox::mojom::Sandbox::kPrintBackend:
       return sandbox::policy::SandboxType::kPrintBackend;
 #endif
-#if defined(OS_FUCHSIA)
+#if defined(OS_FUCHSIA) || defined(OS_BSD)
     case sandbox::mojom::Sandbox::kVideoCapture:
       return sandbox::policy::SandboxType::kVideoCapture;
 #endif
