diff --git a/source/blender/python/api2_2x/BPyModule.c b/source/blender/python/api2_2x/BPyModule.c index 8c85324bde4..6159fe76f7a 100644 --- a/source/blender/python/api2_2x/BPyModule.c +++ b/source/blender/python/api2_2x/BPyModule.c @@ -30,6 +30,7 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#include "BPyModule.h" #include "MEM_guardedalloc.h" /* for MEM_callocN */ #include "DNA_space_types.h" /* SPACE_VIEW3D, SPACE_SEQ */ @@ -103,7 +104,6 @@ #include "Text.h" #include "Sound.h" #include "NLA.h" -#include "BPyModule.h" #include "Scene.h" #include "Library.h" diff --git a/source/blender/python/api2_2x/BPyModule.h b/source/blender/python/api2_2x/BPyModule.h index ea11cce9810..2d8fa2a3684 100644 --- a/source/blender/python/api2_2x/BPyModule.h +++ b/source/blender/python/api2_2x/BPyModule.h @@ -33,6 +33,7 @@ #define EXPP_BPYMODULE_H #include +#include "DNA_listBase.h" /* The Main PyType Object defined in Main.c */ extern PyTypeObject LibBlockSeq_Type; diff --git a/source/blender/python/api2_2x/Key.c b/source/blender/python/api2_2x/Key.c index 07112c62e17..d1231daba5f 100644 --- a/source/blender/python/api2_2x/Key.c +++ b/source/blender/python/api2_2x/Key.c @@ -31,6 +31,8 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#include "Key.h" /*This must come first*/ + #include "DNA_scene_types.h" #include @@ -41,7 +43,6 @@ #include "BIF_space.h" #include "Ipocurve.h" -#include "Key.h" #include "NMesh.h" /* we create NMesh.NMVert objects */ #include "Ipo.h" #include "BezTriple.h"