* Use platform headers to source various libc prototypes instead of unsafe

static ones (from vapier)
This commit is contained in:
Tim Angus 2005-10-26 23:08:56 +00:00
parent 0167152647
commit f455a27edd

View file

@ -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>