mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
* Use platform headers to source various libc prototypes instead of unsafe
static ones (from vapier)
This commit is contained in:
parent
0167152647
commit
f455a27edd
1 changed files with 6 additions and 6 deletions
|
@ -155,9 +155,9 @@ extern Nlist *kwdefined;
|
|||
extern Includelist includelist[NINCLUDE];
|
||||
extern char wd[];
|
||||
|
||||
extern int creat(char *, int);
|
||||
extern int open(char *, int);
|
||||
extern int close(int);
|
||||
extern int dup2(int, int);
|
||||
extern int write(int, char *, size_t);
|
||||
extern int read(int, char *, size_t);
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
|
|
Loading…
Reference in a new issue