diff --git a/common/gal/cairo/cairo_print.cpp b/common/gal/cairo/cairo_print.cpp
index 3606806300..320dbd0a98 100644
--- a/common/gal/cairo/cairo_print.cpp
+++ b/common/gal/cairo/cairo_print.cpp
@@ -19,13 +19,6 @@
* with this program. If not, see .
*/
-#ifdef __WXMSW__
-#include
-#include
-#include
-#include
-#endif /* __WXMSW__ */
-
#include
#include
@@ -40,6 +33,15 @@ using std::max;
using std::min;
#endif
+#ifdef __WXMSW__
+#include
+#include
+#include
+#include
+#include
+#endif /* __WXMSW__ */
+
+
#ifdef __WXMAC__
#include
#include