From ccca6db86555d017efc3980c5f99e1228916cb55 Mon Sep 17 00:00:00 2001 From: Corporama Date: Sat, 30 Aug 2014 23:11:09 +0200 Subject: [PATCH] Compile fixes for Linux --- apps/openmw/mwmechanics/mechanicsmanagerimp.cpp | 2 ++ extern/sdl4ogre/sdlwindowhelper.cpp | 1 + libs/openengine/bullet/physic.hpp | 3 +-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp b/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp index d0f11b892..b6b2c213d 100644 --- a/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp +++ b/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp @@ -21,6 +21,8 @@ #include "spellcasting.hpp" #include "autocalcspell.hpp" +#include + namespace { /// @return is \a ptr allowed to take/use \a item or is it a crime? diff --git a/extern/sdl4ogre/sdlwindowhelper.cpp b/extern/sdl4ogre/sdlwindowhelper.cpp index f30362d78..e040b8868 100644 --- a/extern/sdl4ogre/sdlwindowhelper.cpp +++ b/extern/sdl4ogre/sdlwindowhelper.cpp @@ -6,6 +6,7 @@ #include #include +#include #if OGRE_PLATFORM == OGRE_PLATFORM_APPLE #include "osx_utils.h" diff --git a/libs/openengine/bullet/physic.hpp b/libs/openengine/bullet/physic.hpp index d846d60b1..d882d85bb 100644 --- a/libs/openengine/bullet/physic.hpp +++ b/libs/openengine/bullet/physic.hpp @@ -8,8 +8,7 @@ #include #include "BulletShapeLoader.h" #include "BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h" - - +#include class btRigidBody; class btBroadphaseInterface;