diff options
Diffstat (limited to 'source/gameengine/SceneGraph')
-rw-r--r-- | source/gameengine/SceneGraph/SG_Controller.h | 6 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_IObject.h | 3 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_Node.h | 5 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_ParentRelation.h | 4 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_Spatial.h | 5 |
5 files changed, 20 insertions, 3 deletions
diff --git a/source/gameengine/SceneGraph/SG_Controller.h b/source/gameengine/SceneGraph/SG_Controller.h index 99cc62344f2..d0075681c1a 100644 --- a/source/gameengine/SceneGraph/SG_Controller.h +++ b/source/gameengine/SceneGraph/SG_Controller.h @@ -35,8 +35,12 @@ #ifndef __SG_CONTROLLER_H #define __SG_CONTROLLER_H - #include "SG_IObject.h" + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SG_Controller { public: diff --git a/source/gameengine/SceneGraph/SG_IObject.h b/source/gameengine/SceneGraph/SG_IObject.h index ac2fe9ed9f6..6d610d6dca6 100644 --- a/source/gameengine/SceneGraph/SG_IObject.h +++ b/source/gameengine/SceneGraph/SG_IObject.h @@ -36,6 +36,9 @@ base object that can be part of the scenegraph. */ #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class SG_Controller; class SG_IObject; diff --git a/source/gameengine/SceneGraph/SG_Node.h b/source/gameengine/SceneGraph/SG_Node.h index e1b40c32ed3..31f796a004f 100644 --- a/source/gameengine/SceneGraph/SG_Node.h +++ b/source/gameengine/SceneGraph/SG_Node.h @@ -33,9 +33,12 @@ #define __SG_NODE_H #include "SG_Spatial.h" - #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + typedef std::vector<SG_Node*> NodeList; class SG_Node : public SG_Spatial diff --git a/source/gameengine/SceneGraph/SG_ParentRelation.h b/source/gameengine/SceneGraph/SG_ParentRelation.h index b26c4758480..ba2119c948d 100644 --- a/source/gameengine/SceneGraph/SG_ParentRelation.h +++ b/source/gameengine/SceneGraph/SG_ParentRelation.h @@ -53,6 +53,10 @@ #ifndef __SG_ParentRelation_h #define __SG_ParentRelation_h +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SG_Spatial; class SG_ParentRelation { diff --git a/source/gameengine/SceneGraph/SG_Spatial.h b/source/gameengine/SceneGraph/SG_Spatial.h index a3302fd8b41..2b9fda40c91 100644 --- a/source/gameengine/SceneGraph/SG_Spatial.h +++ b/source/gameengine/SceneGraph/SG_Spatial.h @@ -36,9 +36,12 @@ #include <MT_Vector3.h> #include <MT_Point3.h> #include <MT_Matrix3x3.h> // or Quaternion later ? - #include "SG_IObject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SG_Node; class SG_ParentRelation; |