diff --git a/src/msw/display.cpp b/src/msw/display.cpp index 5dd3994788..6066895d21 100644 --- a/src/msw/display.cpp +++ b/src/msw/display.cpp @@ -56,6 +56,10 @@ #pragma warning(disable:4706) #endif +// with mingw32, we must include windows.h first and it doesn't hurt with other +// compilers +#include + #include #ifdef _MSC_VER