diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index 709b21fc8..0d688a9f6 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -44,10 +44,6 @@ #include -#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE -#include -#endif - #include #include "mwgui/class.hpp" diff --git a/apps/openmw/main.cpp b/apps/openmw/main.cpp index 56f78afe3..81fbff2f2 100644 --- a/apps/openmw/main.cpp +++ b/apps/openmw/main.cpp @@ -26,6 +26,11 @@ #endif +// for Ogre::macBundlePath +#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE +#include +#endif + using namespace std; /// Parse command line options and openmw.cfg file (if one exists). Results are directly