diff options
author | Jannik Vogel <email@jannikvogel.de> | 2016-12-03 21:08:02 +0100 |
---|---|---|
committer | Jannik Vogel <email@jannikvogel.de> | 2016-12-05 19:09:16 +0100 |
commit | 45d941d62e2accea92f5b5183afe760e69a618ac (patch) | |
tree | 123b8c13185b472a1fa413c3b8caf42980106207 /src/common/timer.cpp | |
parent | 5234f2d287e93509a84a064a4655281cdb528d88 (diff) |
Support mingw cross-compile
Diffstat (limited to 'src/common/timer.cpp')
-rw-r--r-- | src/common/timer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/timer.cpp b/src/common/timer.cpp index e843cbd9c3..c9803109e7 100644 --- a/src/common/timer.cpp +++ b/src/common/timer.cpp @@ -4,7 +4,8 @@ #include <time.h> #ifdef _WIN32 -#include <Windows.h> +#include <windows.h> +// windows.h needs to be included before other windows headers #include <mmsystem.h> #include <sys/timeb.h> #else |