From db114d82137efd0d4f4f851975e9fa13dcb710d7 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 2 Nov 2011 08:07:23 +0000 Subject: [PATCH] win32: add two includes to make sure the constants for file mode and sharing are there git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11517 d7cf8633-e32d-0410-b094-e92efae38249 --- fs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs.c b/fs.c index 2ce6a132..93768046 100644 --- a/fs.c +++ b/fs.c @@ -37,6 +37,8 @@ # include # include # include +# include +# include #else # include # include @@ -65,10 +67,8 @@ # define lseek _lseeki64 #endif -#if _MSC_VER >= 1400 // suppress deprecated warnings -# include -# include +#if _MSC_VER >= 1400 # define read _read # define write _write # define close _close -- 2.39.2