diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 18:41:25 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 18:41:25 +0000 |
commit | 999520d813ea580a52e22e71670f8b343f5c2845 (patch) | |
tree | 125a875ed1b3de385e6c88d9dbf044464aed6ebd /base/process_util_mac.mm | |
parent | 92f094bcb524f053d31d4f026be1453cb9188a60 (diff) | |
download | chromium_src-999520d813ea580a52e22e71670f8b343f5c2845.zip chromium_src-999520d813ea580a52e22e71670f8b343f5c2845.tar.gz chromium_src-999520d813ea580a52e22e71670f8b343f5c2845.tar.bz2 |
Don't require tlslite to be installed, just use what's in the tree
Review URL: http://codereview.chromium.org/13745
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6794 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_mac.mm')
-rw-r--r-- | base/process_util_mac.mm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/process_util_mac.mm b/base/process_util_mac.mm index a0a123a..c29b488 100644 --- a/base/process_util_mac.mm +++ b/base/process_util_mac.mm @@ -12,6 +12,10 @@ #include <sys/types.h> #include <sys/wait.h> +extern "C" { +extern char** environ; +} + namespace base { bool LaunchApp(const std::vector<std::string>& argv, @@ -30,7 +34,7 @@ bool LaunchApp(const std::vector<std::string>& argv, NULL, NULL, argv_copy, - NULL) == 0); + environ) == 0); bool process_handle_valid = pid > 0; if (!spawn_succeeded || !process_handle_valid) { |