$NetBSD: patch-mojo_core_channel.h,v 1.3 2025/12/23 13:22:21 kikadf Exp $

* Part of patchset to build chromium on NetBSD
* Based on OpenBSD's chromium patches, and
  pkgsrc's qt5-qtwebengine patches

--- mojo/core/channel.h.orig	2025-12-17 23:05:18.000000000 +0000
+++ mojo/core/channel.h
@@ -167,7 +167,7 @@ class MOJO_SYSTEM_IMPL_EXPORT Channel
       } v2;
 
 #if BUILDFLAG(IS_ANDROID) || \
-    (BUILDFLAG(IS_LINUX) && defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION))
+    ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION))
       // On Android for each pair of connected ipcz::Node instances both sides
       // of the connection run the same version of code. Restricting this
       // extension of IpczHeader to Android allows to iterate on the wire format
