diff options
Diffstat (limited to 'code/tools/lcc/cpp')
| -rw-r--r-- | code/tools/lcc/cpp/cpp.h | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/code/tools/lcc/cpp/cpp.h b/code/tools/lcc/cpp/cpp.h index d72f24a..203ab74 100644 --- a/code/tools/lcc/cpp/cpp.h +++ b/code/tools/lcc/cpp/cpp.h @@ -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>  | 
