From: divverent Date: Wed, 2 Nov 2011 08:07:23 +0000 (+0000) Subject: win32: add two includes to make sure the constants for file mode and sharing are... X-Git-Tag: xonotic-v0.6.0~163^2~40 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=db114d82137efd0d4f4f851975e9fa13dcb710d7 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 --- 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