1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 12:10:03 +00:00

Add extern environ for Tests

This seems to be needed only for the OSX builds.
This commit is contained in:
Travis Yaeger 2019-05-28 11:30:47 -07:00 committed by Brenden Matthews
parent 0ad2119bb4
commit 7c074f5237

View File

@ -34,6 +34,8 @@
#include <common.h>
#include <conky.h>
extern char **environ;
std::string get_valid_environment_variable_name() {
if (getenv("HOME") != nullptr) { return "HOME"; }