# Copy environment for IPC using NSPR to avoid race diff --git a/ipc/chromium/src/base/process_util_bsd.cc b/ipc/chromium/src/base/process_util_bsd.cc --- ipc/chromium/src/base/process_util_bsd.cc +++ ipc/chromium/src/base/process_util_bsd.cc @@ -12,10 +12,9 @@ #include +#include "nspr.h" #include "base/eintr_wrapper.h" -extern "C" char **environ __attribute__((__visibility__("default"))); - namespace base { void FreeEnvVarsArray(char* array[], int length) @@ -66,6 +65,7 @@ bool LaunchApp(const std::vector