--- sandbox/linux/services/libc_interceptor.cc.orig 2024-08-27 06:28:16 UTC +++ sandbox/linux/services/libc_interceptor.cc @@ -17,7 +17,9 @@ #include #include #include +#if !BUILDFLAG(IS_BSD) #include +#endif #include #include #include @@ -173,7 +175,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;