mirror of https://github.com/oxen-io/lokinet
fix non-loonix
This commit is contained in:
parent
7788d6ec3c
commit
2e49c2ffc7
|
@ -6,6 +6,10 @@
|
|||
#include <util/logger.hpp>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#if !defined(__linux__) || !defined(_GNU_SOURCE)
|
||||
// Not all systems declare this variable
|
||||
extern char **environ;
|
||||
#endif
|
||||
#endif
|
||||
#if defined(Darwin)
|
||||
#include <crt_externs.h>
|
||||
|
|
Loading…
Reference in New Issue