--- a/electron/shell/browser/ui/file_dialog.h +++ b/electron/shell/browser/ui/file_dialog.h @@ -13,7 +13,7 @@ #include "base/files/file_path.h" #include "base/memory/raw_ptr_exclusion.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) && defined(__GLIBC__) #include #endif