From 7c074f52375eb1212465822214d384d4b28187dc Mon Sep 17 00:00:00 2001 From: Travis Yaeger Date: Tue, 28 May 2019 11:30:47 -0700 Subject: [PATCH] Add extern environ for Tests This seems to be needed only for the OSX builds. --- tests/test-common.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test-common.cc b/tests/test-common.cc index eefca57d..65daaeee 100644 --- a/tests/test-common.cc +++ b/tests/test-common.cc @@ -34,6 +34,8 @@ #include #include +extern char **environ; + std::string get_valid_environment_variable_name() { if (getenv("HOME") != nullptr) { return "HOME"; }