From 5d019aaa30d49f86362cb87345fb8c7c7a7cf85e Mon Sep 17 00:00:00 2001 From: tma Date: Wed, 26 Oct 2005 23:08:56 +0000 Subject: * Use platform headers to source various libc prototypes instead of unsafe static ones (from vapier) git-svn-id: svn://svn.icculus.org/quake3/trunk@185 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/tools/lcc/cpp/cpp.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'code/tools') 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 +#else +#include +#endif +#include -- cgit v1.2.3