Various fixes in rna_*_api.c files to remove compiler warnings.
[blender.git] / source / blender / makesrna / intern / rna_mesh_api.c
index 9d4dad1fb5b4e0c671fe6c752007892079d4589d..1db2f155d145b1375c8fad9d1009645959736c96 100644 (file)
@@ -42,6 +42,7 @@
 #include "BKE_DerivedMesh.h"
 #include "BKE_main.h"
 #include "BKE_mesh.h"
 #include "BKE_DerivedMesh.h"
 #include "BKE_main.h"
 #include "BKE_mesh.h"
+#include "BKE_material.h"
 
 #include "DNA_mesh_types.h"
 #include "DNA_scene_types.h"
 
 #include "DNA_mesh_types.h"
 #include "DNA_scene_types.h"
@@ -52,6 +53,8 @@
 #include "WM_api.h"
 #include "WM_types.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
 
+#include "MEM_guardedalloc.h"
+
 static void rna_Mesh_calc_edges(Mesh *mesh)
 {
        CustomData edata;
 static void rna_Mesh_calc_edges(Mesh *mesh)
 {
        CustomData edata;