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/GamePlayer/common/unix')
-rw-r--r--source/gameengine/GamePlayer/common/unix/GPU_Canvas.h4
-rw-r--r--source/gameengine/GamePlayer/common/unix/GPU_Engine.h5
-rw-r--r--source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h4
-rw-r--r--source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h3
-rw-r--r--source/gameengine/GamePlayer/common/unix/GPU_System.h4
5 files changed, 18 insertions, 2 deletions
diff --git a/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h b/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h
index 6ff1935d9c1..a33568fd8ac 100644
--- a/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h
+++ b/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h
@@ -35,6 +35,10 @@
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KXH_ketsji_hooks.h"
#include "GPC_Canvas.h"
diff --git a/source/gameengine/GamePlayer/common/unix/GPU_Engine.h b/source/gameengine/GamePlayer/common/unix/GPU_Engine.h
index 03f9d561b17..b81eb93e055 100644
--- a/source/gameengine/GamePlayer/common/unix/GPU_Engine.h
+++ b/source/gameengine/GamePlayer/common/unix/GPU_Engine.h
@@ -33,11 +33,14 @@
#ifndef __GPU_ENGINE_H
#define __GPU_ENGINE_H
-
#include <X11/Xlib.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define Object DNA_Object // tricky stuff !!! but without it it doesn't compile...
#include "GPC_Engine.h"
diff --git a/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h b/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h
index eb1a5a11cf6..755fd9fa236 100644
--- a/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h
+++ b/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h
@@ -40,6 +40,10 @@
// Intrinsic.h . Yes, we are a bunch of sado-masochists. Let's hurt
// ourselves!
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "GPC_KeyboardDevice.h"
class GPU_KeyboardDevice : public GPC_KeyboardDevice
diff --git a/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h b/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h
index 983ed0ade5a..35c11592f13 100644
--- a/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h
+++ b/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h
@@ -36,6 +36,9 @@
#include "BP_PolygonMaterial.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
class GPU_PolygonMaterial : public BP_PolygonMaterial
{
diff --git a/source/gameengine/GamePlayer/common/unix/GPU_System.h b/source/gameengine/GamePlayer/common/unix/GPU_System.h
index bf638327ff6..acdfea53897 100644
--- a/source/gameengine/GamePlayer/common/unix/GPU_System.h
+++ b/source/gameengine/GamePlayer/common/unix/GPU_System.h
@@ -33,9 +33,11 @@
#ifndef __GPU_SYSTEM_H
#define __GPU_SYSTEM_H
-
#include "GPC_System.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
class GPU_System : public GPC_System
{