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/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_ID.h4
-rw-r--r--source/blender/makesdna/DNA_action_types.h4
-rw-r--r--source/blender/makesdna/DNA_actuator_types.h4
-rw-r--r--source/blender/makesdna/DNA_armature_types.h5
-rw-r--r--source/blender/makesdna/DNA_camera_types.h4
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h4
-rw-r--r--source/blender/makesdna/DNA_controller_types.h4
-rw-r--r--source/blender/makesdna/DNA_curve_types.h4
-rw-r--r--source/blender/makesdna/DNA_effect_types.h4
-rw-r--r--source/blender/makesdna/DNA_fileglobal_types.h4
-rw-r--r--source/blender/makesdna/DNA_group_types.h4
-rw-r--r--source/blender/makesdna/DNA_ika_types.h5
-rw-r--r--source/blender/makesdna/DNA_image_types.h4
-rw-r--r--source/blender/makesdna/DNA_ipo_types.h4
-rw-r--r--source/blender/makesdna/DNA_key_types.h4
-rw-r--r--source/blender/makesdna/DNA_lamp_types.h4
-rw-r--r--source/blender/makesdna/DNA_lattice_types.h4
-rw-r--r--source/blender/makesdna/DNA_listBase.h4
-rw-r--r--source/blender/makesdna/DNA_material_types.h4
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h4
-rw-r--r--source/blender/makesdna/DNA_meta_types.h5
-rw-r--r--source/blender/makesdna/DNA_nla_types.h5
-rw-r--r--source/blender/makesdna/DNA_object_types.h4
-rw-r--r--source/blender/makesdna/DNA_oops_types.h4
-rw-r--r--source/blender/makesdna/DNA_packedFile_types.h4
-rw-r--r--source/blender/makesdna/DNA_property_types.h4
-rw-r--r--source/blender/makesdna/DNA_radio_types.h4
-rw-r--r--source/blender/makesdna/DNA_scene_types.h4
-rw-r--r--source/blender/makesdna/DNA_screen_types.h4
-rw-r--r--source/blender/makesdna/DNA_scriptlink_types.h4
-rw-r--r--source/blender/makesdna/DNA_sdna_types.h4
-rw-r--r--source/blender/makesdna/DNA_sensor_types.h4
-rw-r--r--source/blender/makesdna/DNA_sequence_types.h4
-rw-r--r--source/blender/makesdna/DNA_sound_types.h4
-rw-r--r--source/blender/makesdna/DNA_space_types.h4
-rw-r--r--source/blender/makesdna/DNA_text_types.h4
-rw-r--r--source/blender/makesdna/DNA_texture_types.h4
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h4
-rw-r--r--source/blender/makesdna/DNA_vec_types.h4
-rw-r--r--source/blender/makesdna/DNA_vfont_types.h4
-rw-r--r--source/blender/makesdna/DNA_view2d_types.h4
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h4
-rw-r--r--source/blender/makesdna/DNA_wave_types.h4
-rw-r--r--source/blender/makesdna/DNA_world_types.h4
44 files changed, 178 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index f99de9106a8..c6628785022 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -36,6 +36,10 @@
#ifndef DNA_ID_H
#define DNA_ID_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h
index 6be0096f0fb..b8d8c6436a3 100644
--- a/source/blender/makesdna/DNA_action_types.h
+++ b/source/blender/makesdna/DNA_action_types.h
@@ -39,6 +39,10 @@
#ifndef DNA_ACTION_TYPES_H
#define DNA_ACTION_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
#include "DNA_view2d_types.h"
diff --git a/source/blender/makesdna/DNA_actuator_types.h b/source/blender/makesdna/DNA_actuator_types.h
index 40a6c4a80a0..d2c37ba59e3 100644
--- a/source/blender/makesdna/DNA_actuator_types.h
+++ b/source/blender/makesdna/DNA_actuator_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_ACTUATOR_TYPES_H
#define DNA_ACTUATOR_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
struct Mesh;
struct Scene;
diff --git a/source/blender/makesdna/DNA_armature_types.h b/source/blender/makesdna/DNA_armature_types.h
index 79bd4c6156a..293c9d4e641 100644
--- a/source/blender/makesdna/DNA_armature_types.h
+++ b/source/blender/makesdna/DNA_armature_types.h
@@ -30,10 +30,13 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
-
#ifndef DNA_ARMATURE_TYPES_H
#define DNA_ARMATURE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h
index 61286c846b9..7dbcc1ea67c 100644
--- a/source/blender/makesdna/DNA_camera_types.h
+++ b/source/blender/makesdna/DNA_camera_types.h
@@ -37,6 +37,10 @@
#include "DNA_ID.h"
#include "DNA_scriptlink_types.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 02199b9aa01..09a2e97e2f9 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_CONSTRAINT_TYPES_H
#define DNA_CONSTRAINT_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
#include "DNA_ipo_types.h"
#include "DNA_object_types.h"
diff --git a/source/blender/makesdna/DNA_controller_types.h b/source/blender/makesdna/DNA_controller_types.h
index b8bffd68db8..bb2543ac458 100644
--- a/source/blender/makesdna/DNA_controller_types.h
+++ b/source/blender/makesdna/DNA_controller_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_CONTROLLER_TYPES_H
#define DNA_CONTROLLER_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct bActuator;
struct Text;
struct bSensor;
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h
index 55d38171a10..2ffb7327dc0 100644
--- a/source/blender/makesdna/DNA_curve_types.h
+++ b/source/blender/makesdna/DNA_curve_types.h
@@ -36,6 +36,10 @@
#ifndef DNA_CURVE_TYPES_H
#define DNA_CURVE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_vec_types.h"
#include "DNA_ID.h"
diff --git a/source/blender/makesdna/DNA_effect_types.h b/source/blender/makesdna/DNA_effect_types.h
index 4d843772ce9..b5aaba5c5fc 100644
--- a/source/blender/makesdna/DNA_effect_types.h
+++ b/source/blender/makesdna/DNA_effect_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_EFFECT_TYPES_H
#define DNA_EFFECT_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* DENK ERAAN: NIEUWE EFFECTEN OOK IN DE WRITEFILE.C IVM DNA!!! */
#define PAF_MAXMULT 4
diff --git a/source/blender/makesdna/DNA_fileglobal_types.h b/source/blender/makesdna/DNA_fileglobal_types.h
index 1d1d5b2b7f7..7a50cfce422 100644
--- a/source/blender/makesdna/DNA_fileglobal_types.h
+++ b/source/blender/makesdna/DNA_fileglobal_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_FILEGLOBAL_TYPES_H
#define DNA_FILEGLOBAL_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/**
* FileGlobal stores a part of the current user-unterface settings at
* the moment of saving, and the file-specific settings.
diff --git a/source/blender/makesdna/DNA_group_types.h b/source/blender/makesdna/DNA_group_types.h
index f7139101476..68ec82b4620 100644
--- a/source/blender/makesdna/DNA_group_types.h
+++ b/source/blender/makesdna/DNA_group_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_GROUP_TYPES_H
#define DNA_GROUP_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
diff --git a/source/blender/makesdna/DNA_ika_types.h b/source/blender/makesdna/DNA_ika_types.h
index 9024672fa01..b2dc1550ba1 100644
--- a/source/blender/makesdna/DNA_ika_types.h
+++ b/source/blender/makesdna/DNA_ika_types.h
@@ -40,6 +40,11 @@
#include "DNA_listBase.h"
#include "DNA_ID.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
struct Object;
struct Ipo;
diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h
index a2dfdf00fd8..9683ed68599 100644
--- a/source/blender/makesdna/DNA_image_types.h
+++ b/source/blender/makesdna/DNA_image_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_IMAGE_TYPES_H
#define DNA_IMAGE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
struct PackedFile;
diff --git a/source/blender/makesdna/DNA_ipo_types.h b/source/blender/makesdna/DNA_ipo_types.h
index 1ee62ac2640..ea9084006f5 100644
--- a/source/blender/makesdna/DNA_ipo_types.h
+++ b/source/blender/makesdna/DNA_ipo_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_IPO_TYPES_H
#define DNA_IPO_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_vec_types.h"
diff --git a/source/blender/makesdna/DNA_key_types.h b/source/blender/makesdna/DNA_key_types.h
index 55f6d81aa06..4506b284a19 100644
--- a/source/blender/makesdna/DNA_key_types.h
+++ b/source/blender/makesdna/DNA_key_types.h
@@ -37,6 +37,10 @@
#include "DNA_listBase.h"
#include "DNA_ID.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Ipo;
typedef struct KeyBlock {
diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h
index 0722c5d8cb6..5e00e5cf500 100644
--- a/source/blender/makesdna/DNA_lamp_types.h
+++ b/source/blender/makesdna/DNA_lamp_types.h
@@ -37,6 +37,10 @@
#include "DNA_ID.h"
#include "DNA_scriptlink_types.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct MTex;
struct Ipo;
diff --git a/source/blender/makesdna/DNA_lattice_types.h b/source/blender/makesdna/DNA_lattice_types.h
index 43649467b96..5e44bf704e9 100644
--- a/source/blender/makesdna/DNA_lattice_types.h
+++ b/source/blender/makesdna/DNA_lattice_types.h
@@ -36,6 +36,10 @@
#ifndef DNA_LATTICE_TYPES_H
#define DNA_LATTICE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
struct BPoint;
diff --git a/source/blender/makesdna/DNA_listBase.h b/source/blender/makesdna/DNA_listBase.h
index 10a1b59fb01..a4feebfe0cc 100644
--- a/source/blender/makesdna/DNA_listBase.h
+++ b/source/blender/makesdna/DNA_listBase.h
@@ -39,6 +39,10 @@
#ifndef DNA_LISTBASE_H
#define DNA_LISTBASE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index d21b27897ed..5c9cd3c9999 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_MATERIAL_TYPES_H
#define DNA_MATERIAL_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* #include "BLI_listBase.h" */
#include "DNA_ID.h"
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index 6c04a243020..43a167ccfa1 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -36,6 +36,10 @@
#ifndef DNA_MESH_TYPES_H
#define DNA_MESH_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
diff --git a/source/blender/makesdna/DNA_meta_types.h b/source/blender/makesdna/DNA_meta_types.h
index b227655a893..18c9e3f5335 100644
--- a/source/blender/makesdna/DNA_meta_types.h
+++ b/source/blender/makesdna/DNA_meta_types.h
@@ -34,6 +34,11 @@
#ifndef DNA_META_TYPES_H
#define DNA_META_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
diff --git a/source/blender/makesdna/DNA_nla_types.h b/source/blender/makesdna/DNA_nla_types.h
index f178998eed3..68e54f5db23 100644
--- a/source/blender/makesdna/DNA_nla_types.h
+++ b/source/blender/makesdna/DNA_nla_types.h
@@ -30,10 +30,13 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
-
#ifndef DNA_NLA_TYPES_H
#define DNA_NLA_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct bAction;
struct Ipo;
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 2878442a0f3..e3b29bafe61 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -36,6 +36,10 @@
#ifndef DNA_OBJECT_TYPES_H
#define DNA_OBJECT_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
#include "DNA_scriptlink_types.h"
diff --git a/source/blender/makesdna/DNA_oops_types.h b/source/blender/makesdna/DNA_oops_types.h
index 52130c113cc..625c87f351b 100644
--- a/source/blender/makesdna/DNA_oops_types.h
+++ b/source/blender/makesdna/DNA_oops_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_OOPS_TYPES_H
#define DNA_OOPS_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define OOPSX 5.0
#define OOPSY 1.8
diff --git a/source/blender/makesdna/DNA_packedFile_types.h b/source/blender/makesdna/DNA_packedFile_types.h
index 7c4dc58006a..71e5f03118c 100644
--- a/source/blender/makesdna/DNA_packedFile_types.h
+++ b/source/blender/makesdna/DNA_packedFile_types.h
@@ -36,6 +36,10 @@
#ifndef DNA_PACKEDFILE_TYPES_H
#define DNA_PACKEDFILE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct PackedFile {
int size;
int seek;
diff --git a/source/blender/makesdna/DNA_property_types.h b/source/blender/makesdna/DNA_property_types.h
index e46d557cc8b..1614d52db88 100644
--- a/source/blender/makesdna/DNA_property_types.h
+++ b/source/blender/makesdna/DNA_property_types.h
@@ -37,6 +37,10 @@
#ifndef DNA_PROPERTY_TYPES_H
#define DNA_PROPERTY_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ********************* PROPERTY ************************ */
typedef struct bProperty {
diff --git a/source/blender/makesdna/DNA_radio_types.h b/source/blender/makesdna/DNA_radio_types.h
index 29fd2bf082d..d04607a12ce 100644
--- a/source/blender/makesdna/DNA_radio_types.h
+++ b/source/blender/makesdna/DNA_radio_types.h
@@ -38,6 +38,10 @@
#ifndef DNA_RADIO_TYPES_H
#define DNA_RADIO_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct Radio {
short hemires, maxiter;
short drawtype, flag; /* bit 0 en 1: limits laten zien */
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 3cc676587be..268ed5d86f1 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -37,6 +37,10 @@
#ifndef DNA_SCENE_TYPES_H
#define DNA_SCENE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 7fee3f7ca17..56f5fab4ef3 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_SCREEN_TYPES_H
#define DNA_SCREEN_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_vec_types.h"
diff --git a/source/blender/makesdna/DNA_scriptlink_types.h b/source/blender/makesdna/DNA_scriptlink_types.h
index 4816c934202..48f68115191 100644
--- a/source/blender/makesdna/DNA_scriptlink_types.h
+++ b/source/blender/makesdna/DNA_scriptlink_types.h
@@ -36,6 +36,10 @@
#ifndef DNA_SCRIPTLINK_TYPES_H
#define DNA_SCRIPTLINK_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/source/blender/makesdna/DNA_sdna_types.h b/source/blender/makesdna/DNA_sdna_types.h
index cdc0c33fb42..89daad462d2 100644
--- a/source/blender/makesdna/DNA_sdna_types.h
+++ b/source/blender/makesdna/DNA_sdna_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_SDNA_H
#define DNA_SDNA_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#
#
struct SDNA {
diff --git a/source/blender/makesdna/DNA_sensor_types.h b/source/blender/makesdna/DNA_sensor_types.h
index d6192242da4..1a625fea1eb 100644
--- a/source/blender/makesdna/DNA_sensor_types.h
+++ b/source/blender/makesdna/DNA_sensor_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_SENSOR_TYPES_H
#define DNA_SENSOR_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
struct Material;
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h
index d7d72788c7a..2fc3ea7c199 100644
--- a/source/blender/makesdna/DNA_sequence_types.h
+++ b/source/blender/makesdna/DNA_sequence_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_SEQUENCE_TYPES_H
#define DNA_SEQUENCE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
struct Ipo;
diff --git a/source/blender/makesdna/DNA_sound_types.h b/source/blender/makesdna/DNA_sound_types.h
index 41429a0217e..75d03ef6c19 100644
--- a/source/blender/makesdna/DNA_sound_types.h
+++ b/source/blender/makesdna/DNA_sound_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_SOUND_TYPES_H
#define DNA_SOUND_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 5abc9b47c05..0a2a1246d1f 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_SPACE_TYPES_H
#define DNA_SPACE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_vec_types.h"
/* Hum ... Not really nice... but needed for spacebuts. */
diff --git a/source/blender/makesdna/DNA_text_types.h b/source/blender/makesdna/DNA_text_types.h
index 264ca33013c..0bdbd3c28a4 100644
--- a/source/blender/makesdna/DNA_text_types.h
+++ b/source/blender/makesdna/DNA_text_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_TEXT_TYPES_H
#define DNA_TEXT_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h
index 9a222850519..906a082005c 100644
--- a/source/blender/makesdna/DNA_texture_types.h
+++ b/source/blender/makesdna/DNA_texture_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_TEXTURE_TYPES_H
#define DNA_TEXTURE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
struct Ipo;
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 38b4d3e6e07..73eb6cdadb2 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -35,6 +35,10 @@
#ifndef DNA_USERDEF_TYPES_H
#define DNA_USERDEF_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct UserDef {
short flag, dupflag;
int savetime;
diff --git a/source/blender/makesdna/DNA_vec_types.h b/source/blender/makesdna/DNA_vec_types.h
index 97494499e10..ce7e10d7b86 100644
--- a/source/blender/makesdna/DNA_vec_types.h
+++ b/source/blender/makesdna/DNA_vec_types.h
@@ -36,6 +36,10 @@
#ifndef DNA_VEC_TYPES_H
#define DNA_VEC_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* types */
typedef struct vec2s {
diff --git a/source/blender/makesdna/DNA_vfont_types.h b/source/blender/makesdna/DNA_vfont_types.h
index 5f9e3f61446..3086aa99484 100644
--- a/source/blender/makesdna/DNA_vfont_types.h
+++ b/source/blender/makesdna/DNA_vfont_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_VFONT_TYPES_H
#define DNA_VFONT_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
struct PackedFile;
diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h
index a0d9bf53b7a..3b3291a9d05 100644
--- a/source/blender/makesdna/DNA_view2d_types.h
+++ b/source/blender/makesdna/DNA_view2d_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_VIEW2D_TYPES_H
#define DNA_VIEW2D_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_vec_types.h"
typedef struct View2D {
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index 1cae50f58a6..9f2ab991942 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_VIEW3D_TYPES_H
#define DNA_VIEW3D_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
struct Image;
struct Tex;
diff --git a/source/blender/makesdna/DNA_wave_types.h b/source/blender/makesdna/DNA_wave_types.h
index e8f2607cee4..402ea0e94cf 100644
--- a/source/blender/makesdna/DNA_wave_types.h
+++ b/source/blender/makesdna/DNA_wave_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_WAVE_TYPES_H
#define DNA_WAVE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
struct Ipo;
diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h
index 91e205e4038..405dcabe7c6 100644
--- a/source/blender/makesdna/DNA_world_types.h
+++ b/source/blender/makesdna/DNA_world_types.h
@@ -34,6 +34,10 @@
#ifndef DNA_WORLD_TYPES_H
#define DNA_WORLD_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
#include "DNA_scriptlink_types.h"