Various fixes in rna_*_api.c files to remove compiler warnings.
[blender.git] / source / blender / makesrna / intern / rna_scene_api.c
index f3cbb630df5a07b6b4cb94f64b95b443ae17aef6..076fe38ed2fdfa53c4455fddedb70d6486b1f87f 100644 (file)
 #ifdef RNA_RUNTIME
 
 #include "BKE_scene.h"
+#include "BKE_depsgraph.h"
+
 #include "ED_object.h"
 
+#include "WM_api.h"
+
 static void rna_Scene_add_object(Scene *sce, ReportList *reports, Object *ob)
 {
        Base *base= object_in_scene(ob, sce);