* 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 Includelist includelist[NINCLUDE];
extern char wd[]; extern char wd[];
extern int creat(char *, int); #ifndef _WIN32
extern int open(char *, int); #include <unistd.h>
extern int close(int); #else
extern int dup2(int, int); #include <io.h>
extern int write(int, char *, size_t); #endif
extern int read(int, char *, size_t); #include <fcntl.h>