--- sandbox/linux/services/libc_interceptor.cc.orig 2023-10-21 11:51:27 UTC +++ sandbox/linux/services/libc_interceptor.cc @@ -12,7 +12,9 @@ #include #include #include +#if !BUILDFLAG(IS_BSD) #include +#endif #include #include #include @@ -167,7 +169,7 @@ bool ReadTimeStruct(base::PickleIterator* iter, } else { base::AutoLock lock(g_timezones_lock.Get()); auto ret_pair = g_timezones.Get().insert(timezone); - output->tm_zone = ret_pair.first->c_str(); + output->tm_zone = (char *)ret_pair.first->c_str(); } return true;