1
0
mirror of https://github.com/janet-lang/janet synced 2026-03-25 17:19:50 +00:00

plan9: restore sys/wait usage (patched in NPE)

This commit is contained in:
Noam Preil
2025-12-12 09:29:23 +00:00
parent 8887075a8c
commit 4a9c9ebefc
2 changed files with 1 additions and 3 deletions

View File

@@ -32,9 +32,7 @@
#ifndef JANET_WINDOWS
#include <fcntl.h>
#include <sys/stat.h>
#ifndef JANET_PLAN9
#include <sys/wait.h>
#endif
#include <unistd.h>
#endif

View File

@@ -64,12 +64,12 @@
#else
#ifndef JANET_PLAN9
#include <spawn.h>
#include <sys/wait.h>
#endif
#include <utime.h>
#include <unistd.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/wait.h>
#ifdef JANET_APPLE
#include <crt_externs.h>
#define environ (*_NSGetEnviron())