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/intern/dna.c4
-rw-r--r--source/blender/makesdna/intern/makesdna.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/makesdna/intern/dna.c b/source/blender/makesdna/intern/dna.c
index e4de70fbc34..4e24ee72a7d 100644
--- a/source/blender/makesdna/intern/dna.c
+++ b/source/blender/makesdna/intern/dna.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
unsigned char DNAstr[]= {
83,68,78,65,78,65,77,69,219,3,0,0,42,110,101,120,116,0,42,112,
114,101,118,0,42,102,105,114,115,116,0,42,108,97,115,116,0,120,0,121,
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index 98a23472a9c..ddfd822b56d 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -56,9 +56,12 @@
#include <stdio.h>
#include "MEM_guardedalloc.h"
-
#include "DNA_sdna_types.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define SDNA_MAX_FILENAME_LENGTH 255