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~188 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=df866f253c427554ddc060347bb329146ad58595;p=xonotic%2Fdarkplaces.git 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 ::stable-branch::merge=db114d82137efd0d4f4f851975e9fa13dcb710d7 --- diff --git a/fs.c b/fs.c index 8e2fe67f..96bc7670 100644 --- a/fs.c +++ b/fs.c @@ -37,6 +37,8 @@ # include # include # include +# include +# include #else # include # include @@ -64,10 +66,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