From 8193d58f178b7d6a2e5eb1ab591dad6c0b5c063c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 12 Dec 2004 17:34:36 +0000 Subject: [PATCH] include before , should fix mingw32 compilation (bug 966947) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/display.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.45.2