--- gpu/command_buffer/client/test_shared_image_interface.cc.orig 2026-06-04 10:12:25 UTC +++ gpu/command_buffer/client/test_shared_image_interface.cc @@ -27,8 +27,10 @@ #include "ui/gfx/gpu_fence.h" #include "ui/gfx/gpu_memory_buffer_handle.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +#if !BUILDFLAG(IS_BSD) #include +#endif #include #include #endif @@ -426,7 +428,7 @@ TestSharedImageInterface::CreateSharedImageWithAsyncMa return image; } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) scoped_refptr TestSharedImageInterface::CreateNativePixmapBackedSharedImage( const SharedImageInfo& si_info,