From 45d941d62e2accea92f5b5183afe760e69a618ac Mon Sep 17 00:00:00 2001
From: Jannik Vogel <email@jannikvogel.de>
Date: Sat, 3 Dec 2016 21:08:02 +0100
Subject: Support mingw cross-compile

---
 src/common/timer.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/common/timer.cpp')

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
-- 
cgit v1.2.3-70-g09d2