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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-01-02 17:45:42 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-01-02 17:45:42 +0400
commit9dc085e0cb1a3356c6cb5a43b0ee2e81f1f9adbd (patch)
tree59a0635a9f98a71e3b4cffbefb26be4ed1b15569 /source/blender/makesrna
parent15dc3d4609883fc8c9b0b8ea3e3294a1b0940d13 (diff)
Fix #29738: missing includes in RNA, patch by Dan Eicher.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/makesrna.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c
index dc7400dd9ae..8258ef5b753 100644
--- a/source/blender/makesrna/intern/makesrna.c
+++ b/source/blender/makesrna/intern/makesrna.c
@@ -2649,6 +2649,7 @@ static void rna_generate_header(BlenderRNA *brna, FILE *f)
static const char *cpp_classes = ""
"\n"
"#include <string>\n"
+"#include <string.h> /* for memcpy */\n"
"\n"
"namespace BL {\n"
"\n"
@@ -2774,6 +2775,7 @@ static void rna_generate_header_cpp(BlenderRNA *brna, FILE *f)
fprintf(f, "#include \"RNA_blender.h\"\n");
fprintf(f, "#include \"RNA_types.h\"\n");
+ fprintf(f, "#include \"RNA_access.h\"\n");
fprintf(f, "%s", cpp_classes);