1 --- ui/gfx/render_text_api_fuzzer.cc.orig 2022-08-31 12:19:35 UTC 2 +++ ui/gfx/render_text_api_fuzzer.cc 3 @@ -20,7 +20,7 @@ 4 #include "ui/gfx/font_util.h" 5 #include "ui/gfx/render_text.h" 6 7 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) 8 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) 9 #include "third_party/test_fonts/fontconfig/fontconfig_util_linux.h" 10 #endif 11 12 @@ -47,7 +47,7 @@ struct Environment { 13 14 CHECK(base::i18n::InitializeICU()); 15 16 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) 17 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) 18 test_fonts::SetUpFontconfig(); 19 #endif 20 gfx::InitializeFonts(); 21