]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix a compile error on dedicated server in MSVC2008
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 20 Feb 2009 17:45:53 +0000 (17:45 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 20 Feb 2009 17:45:53 +0000 (17:45 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8748 d7cf8633-e32d-0410-b094-e92efae38249

sys_linux.c

index 8e042f405a0c9deba593e0541b33fb48f373a68e..79b5ae426f9aa3c2f8d530f2e5422240f9ae3b06 100644 (file)
@@ -1,6 +1,8 @@
 #include "quakedef.h"
 
 #ifdef WIN32
+#include <windows.h>
+#include <mmsystem.h>
 #include <io.h>
 #include "conio.h"
 #else
@@ -90,7 +92,6 @@ double Sys_DoubleTime (void)
                return ((double) benchmark_time) / 1e6;
        }
 #ifdef WIN32
-#include <mmsystem.h>
        // 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)
        {