[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43073] trunk/blender/source/blender/ makesrna/intern/makesrna.c: Fix #29738: missing includes in RNA, patch by Dan Eicher.

Brecht Van Lommel brechtvanlommel at pandora.be
Mon Jan 2 14:45:43 CET 2012


Revision: 43073
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43073
Author:   blendix
Date:     2012-01-02 13:45:42 +0000 (Mon, 02 Jan 2012)
Log Message:
-----------
Fix #29738: missing includes in RNA, patch by Dan Eicher.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/makesrna.c

Modified: trunk/blender/source/blender/makesrna/intern/makesrna.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/makesrna.c	2012-01-02 12:37:58 UTC (rev 43072)
+++ trunk/blender/source/blender/makesrna/intern/makesrna.c	2012-01-02 13:45:42 UTC (rev 43073)
@@ -2649,6 +2649,7 @@
 static const char *cpp_classes = ""
 "\n"
 "#include <string>\n"
+"#include <string.h> /* for memcpy */\n"
 "\n"
 "namespace BL {\n"
 "\n"
@@ -2774,6 +2775,7 @@
 	
 	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);
 



More information about the Bf-blender-cvs mailing list