--- remoting/host/create_desktop_interaction_strategy_factory.cc.orig 2025-10-21 20:19:54 UTC +++ remoting/host/create_desktop_interaction_strategy_factory.cc @@ -12,7 +12,7 @@ #include "remoting/host/desktop_interaction_strategy.h" #include "remoting/host/legacy_interaction_strategy.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "remoting/host/linux/gnome_interaction_strategy.h" #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" #endif // BUILDFLAG(IS_LINUX) @@ -25,7 +25,7 @@ CreateDesktopInteractionStrategyFactory( scoped_refptr ui_task_runner, scoped_refptr video_capture_task_runner, scoped_refptr input_task_runner) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (webrtc::DesktopCapturer::IsRunningUnderWayland()) { return std::make_unique(ui_task_runner); }