$NetBSD$ * Part of patchset to build electron on NetBSD * Based on OpenBSD's chromium patches, and FreeBSD's electron patches --- media/base/libvpx_thread_wrapper.cc.orig 2025-02-24 19:59:26.000000000 +0000 +++ media/base/libvpx_thread_wrapper.cc @@ -5,11 +5,14 @@ #include "media/base/libvpx_thread_wrapper.h" #include "media/base/codec_worker_impl.h" +#if !BUILDFLAG(IS_OPENBSD) && !BUILDFLAG(IS_NETBSD) #include "third_party/libvpx/source/libvpx/vpx_util/vpx_thread.h" +#endif namespace media { void InitLibVpxThreadWrapper() { +#if !BUILDFLAG(IS_OPENBSD) && !BUILDFLAG(IS_NETBSD) const VPxWorkerInterface interface = CodecWorkerImpl::GetCodecWorkerInterface(); CHECK(vpx_set_worker_interface(&interface)); +#endif } } // namespace media