1 --- sandbox/linux/services/libc_interceptor.cc.orig	2022-02-28 16:54:41 UTC
2 +++ sandbox/linux/services/libc_interceptor.cc
3 @@ -11,7 +11,9 @@
4  #include <stddef.h>
5  #include <stdint.h>
6  #include <string.h>
7 +#if !defined(OS_BSD)
8  #include <sys/prctl.h>
9 +#endif
10  #include <sys/socket.h>
11  #include <sys/types.h>
12  #include <time.h>
13 @@ -94,7 +96,7 @@ bool ReadTimeStruct(base::PickleIterator* iter,
14    } else {
15      base::AutoLock lock(g_timezones_lock.Get());
16      auto ret_pair = g_timezones.Get().insert(timezone);
17 -    output->tm_zone = ret_pair.first->c_str();
18 +    output->tm_zone = (char *)ret_pair.first->c_str();
19    }
20 
21    return true;
22