# 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 --- mozilla/ipc/chromium/src/base/process_util_bsd.cc +++ mozilla/ipc/chromium/src/base/process_util_bsd.cc @@ -13,6 +13,7 @@ #include +#include "nspr.h" #include "base/eintr_wrapper.h" #include "base/file_util.h" #include "base/logging.h" @@ -48,7 +49,6 @@ #ifdef HAVE_POSIX_SPAWN #include -extern "C" char **environ __dso_public; #endif namespace { @@ -114,6 +114,7 @@ bool LaunchApp(const std::vector