]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_linux.c
This works for me, works on Windows according to MSDN and should also work
[xonotic/darkplaces.git] / sys_linux.c
index 1edb74ddcf42ed8421f6eb18dfda882372626fab..6264af67cdf3130feef0c559d2d62ea33700c5d6 100644 (file)
@@ -76,6 +76,7 @@ double Sys_DoubleTime (void)
        static double oldtime = 0.0, curtime = 0.0;
        double newtime;
 #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)
        {