mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-06-02 07:20:47 +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