mirror of
https://github.com/janet-lang/janet
synced 2025-11-05 18:13:37 +00:00
Windows include issue.
This commit is contained in:
@@ -26,15 +26,16 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifndef JANET_WINDOWS
|
|
||||||
#include <sys/wait.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef JANET_AMALG
|
#ifndef JANET_AMALG
|
||||||
#include <janet.h>
|
#include <janet.h>
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef JANET_WINDOWS
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define IO_WRITE 1
|
#define IO_WRITE 1
|
||||||
#define IO_READ 2
|
#define IO_READ 2
|
||||||
#define IO_APPEND 4
|
#define IO_APPEND 4
|
||||||
|
|||||||
Reference in New Issue
Block a user