fix for building with py2.3
This commit is contained in:
		@@ -41,6 +41,7 @@
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <Python.h>
 | 
			
		||||
#include "../intern/bpy_compat.h"
 | 
			
		||||
#include "BIF_gl.h"
 | 
			
		||||
 | 
			
		||||
PyObject *BGL_Init( const char *from );
 | 
			
		||||
 
 | 
			
		||||
@@ -32,6 +32,7 @@
 | 
			
		||||
#define EXPP_Mathutils_H
 | 
			
		||||
 | 
			
		||||
#include <Python.h>
 | 
			
		||||
#include "../intern/bpy_compat.h"
 | 
			
		||||
#include "vector.h"
 | 
			
		||||
#include "matrix.h"
 | 
			
		||||
#include "quat.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -32,6 +32,7 @@
 | 
			
		||||
#define EXPP_bpy_import_h
 | 
			
		||||
 | 
			
		||||
#include <Python.h>
 | 
			
		||||
#include "../intern/bpy_compat.h"
 | 
			
		||||
#include "compile.h"		/* for the PyCodeObject */
 | 
			
		||||
#include "eval.h"		/* for PyEval_EvalCode */
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -32,6 +32,7 @@
 | 
			
		||||
#define EXPP_euler_h
 | 
			
		||||
 | 
			
		||||
#include <Python.h>
 | 
			
		||||
#include "../intern/bpy_compat.h"
 | 
			
		||||
 | 
			
		||||
extern PyTypeObject euler_Type;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -32,6 +32,7 @@
 | 
			
		||||
#define EXPP_quat_h
 | 
			
		||||
 | 
			
		||||
#include <Python.h>
 | 
			
		||||
#include "../intern/bpy_compat.h"
 | 
			
		||||
 | 
			
		||||
extern PyTypeObject quaternion_Type;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -31,6 +31,7 @@
 | 
			
		||||
#define EXPP_vector_h
 | 
			
		||||
 | 
			
		||||
#include <Python.h>
 | 
			
		||||
#include "../intern/bpy_compat.h"
 | 
			
		||||
 | 
			
		||||
extern PyTypeObject vector_Type;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user