--- remoting/host/host_settings.cc.orig 2021-07-28 08:16:52 UTC +++ remoting/host/host_settings.cc @@ -13,9 +13,9 @@ #include "remoting/host/mac/constants_mac.h" #endif // defined(OS_APPLE) -#if defined(OS_LINUX) +#if defined(OS_LINUX) || defined(OS_BSD) #include "remoting/host/linux/file_path_util.h" -#endif // defined(OS_LINUX) +#endif // defined(OS_LINUX) || defined(OS_BSD) namespace remoting { @@ -46,7 +46,7 @@ HostSettings* HostSettings::GetInstance() { #if defined(OS_APPLE) static const base::FilePath settings_file(kHostSettingsFilePath); static base::NoDestructor instance(settings_file); -#elif defined(OS_LINUX) +#elif defined(OS_LINUX) || defined(OS_BSD) static base::NoDestructor instance(base::FilePath( GetConfigDirectoryPath().Append(GetHostHash() + ".settings.json"))); #else