mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +00:00
Add extern environ for Tests
This seems to be needed only for the OSX builds.
This commit is contained in:
parent
0ad2119bb4
commit
7c074f5237
@ -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"; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user