diff --git a/src/osx/cocoa/mediactrl.mm b/src/osx/cocoa/mediactrl.mm index 804ec36137..9d32df8961 100644 --- a/src/osx/cocoa/mediactrl.mm +++ b/src/osx/cocoa/mediactrl.mm @@ -51,8 +51,10 @@ //--------------------------------------------------------------------------- #include +#if defined( __WXCOCOA__ ) #include "wx/cocoa/autorelease.h" #include "wx/cocoa/string.h" +#endif class WXDLLIMPEXP_FWD_MEDIA wxQTMediaBackend;