Merge branch 'master' of github.com:janet-lang/janet

This commit is contained in:
Calvin Rose 2021-04-29 13:13:55 -05:00
commit cbe92bb985
1 changed files with 5 additions and 0 deletions

View File

@ -56,7 +56,12 @@
#include <dirent.h>
#include <sys/types.h>
#include <sys/wait.h>
#ifdef JANET_APPLE
#include <crt_externs.h>
#define environ (*_NSGetEnviron())
#else
extern char **environ;
#endif
#ifdef JANET_THREADS
#include <pthread.h>
#endif