From: havoc Date: Fri, 20 Feb 2009 17:45:53 +0000 (+0000) Subject: fix a compile error on dedicated server in MSVC2008 X-Git-Tag: xonotic-v0.1.0preview~1847 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bbfc7709f79e2855c3f8bcb25164afd359b3089c;p=xonotic%2Fdarkplaces.git fix a compile error on dedicated server in MSVC2008 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8748 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sys_linux.c b/sys_linux.c index 8e042f40..79b5ae42 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -1,6 +1,8 @@ #include "quakedef.h" #ifdef WIN32 +#include +#include #include #include "conio.h" #else @@ -90,7 +92,6 @@ double Sys_DoubleTime (void) return ((double) benchmark_time) / 1e6; } #ifdef WIN32 -#include // LordHavoc: note to people modifying this code, DWORD is specifically defined as an unsigned 32bit number, therefore the 65536.0 * 65536.0 is fine. if (sys_usetimegettime.integer) {