fix non-loonix

This commit is contained in:
Rick V 2019-05-05 21:41:06 -05:00
parent 7788d6ec3c
commit 2e49c2ffc7
No known key found for this signature in database
GPG Key ID: C0EDC8723FDC3465
1 changed files with 4 additions and 0 deletions

View File

@ -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>