X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7520f3da332d64a676b6f7d27a56004fabf2db36..11f87a381bd9d0fe195ff1a3802ae141413d7c2e:/src/mgl/data.cpp

diff --git a/src/mgl/data.cpp b/src/mgl/data.cpp
index 1fb6225976..ef34e4118d 100644
--- a/src/mgl/data.cpp
+++ b/src/mgl/data.cpp
@@ -14,7 +14,9 @@
     #pragma hdrstop
 #endif
 
-#include "wx/cursor.h"
+#ifndef WX_PRECOMP
+    #include "wx/cursor.h"
+#endif
 
 /* Current cursor, in order to hang on to
  * cursor handle when setting the cursor globally */