Skip to content

Commit 4a9c9eb

Browse files
author
Noam Preil
committed
plan9: restore sys/wait usage (patched in NPE)
1 parent 8887075 commit 4a9c9eb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/core/io.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@
3232
#ifndef JANET_WINDOWS
3333
#include <fcntl.h>
3434
#include <sys/stat.h>
35-
#ifndef JANET_PLAN9
3635
#include <sys/wait.h>
37-
#endif
3836
#include <unistd.h>
3937
#endif
4038

src/core/os.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@
6464
#else
6565
#ifndef JANET_PLAN9
6666
#include <spawn.h>
67-
#include <sys/wait.h>
6867
#endif
6968
#include <utime.h>
7069
#include <unistd.h>
7170
#include <dirent.h>
7271
#include <sys/types.h>
72+
#include <sys/wait.h>
7373
#ifdef JANET_APPLE
7474
#include <crt_externs.h>
7575
#define environ (*_NSGetEnviron())

0 commit comments

Comments
 (0)