Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/SceneGraph')
-rw-r--r--source/gameengine/SceneGraph/SG_Controller.cpp3
-rw-r--r--source/gameengine/SceneGraph/SG_IObject.cpp5
-rw-r--r--source/gameengine/SceneGraph/SG_Node.cpp6
-rw-r--r--source/gameengine/SceneGraph/SG_Spatial.cpp4
4 files changed, 15 insertions, 3 deletions
diff --git a/source/gameengine/SceneGraph/SG_Controller.cpp b/source/gameengine/SceneGraph/SG_Controller.cpp
index 4a5735bb4c0..918b4ea3fb4 100644
--- a/source/gameengine/SceneGraph/SG_Controller.cpp
+++ b/source/gameengine/SceneGraph/SG_Controller.cpp
@@ -31,6 +31,9 @@
#include "SG_Controller.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
void
SG_Controller::
diff --git a/source/gameengine/SceneGraph/SG_IObject.cpp b/source/gameengine/SceneGraph/SG_IObject.cpp
index 2561bd0c672..5433b5017eb 100644
--- a/source/gameengine/SceneGraph/SG_IObject.cpp
+++ b/source/gameengine/SceneGraph/SG_IObject.cpp
@@ -30,9 +30,12 @@
*/
#include "SG_IObject.h"
-
#include "SG_Controller.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
SG_IObject::
SG_IObject(
void* clientobj,
diff --git a/source/gameengine/SceneGraph/SG_Node.cpp b/source/gameengine/SceneGraph/SG_Node.cpp
index d40cdca0c76..c3e4ef79c28 100644
--- a/source/gameengine/SceneGraph/SG_Node.cpp
+++ b/source/gameengine/SceneGraph/SG_Node.cpp
@@ -30,11 +30,13 @@
*/
#include "SG_Node.h"
-
#include "SG_ParentRelation.h"
-
#include <algorithm>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
using namespace std;
diff --git a/source/gameengine/SceneGraph/SG_Spatial.cpp b/source/gameengine/SceneGraph/SG_Spatial.cpp
index 96370f28ef3..e37fd08a517 100644
--- a/source/gameengine/SceneGraph/SG_Spatial.cpp
+++ b/source/gameengine/SceneGraph/SG_Spatial.cpp
@@ -35,6 +35,10 @@
#include "SG_Controller.h"
#include "SG_ParentRelation.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
SG_Spatial::
SG_Spatial(
void* clientobj,