diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Id.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Id.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Id.h b/source/blender/freestyle/intern/python/BPy_Id.h index 3063334f075..10f370f8a80 100644 --- a/source/blender/freestyle/intern/python/BPy_Id.h +++ b/source/blender/freestyle/intern/python/BPy_Id.h @@ -1,6 +1,7 @@ #ifndef FREESTYLE_PYTHON_ID_H #define FREESTYLE_PYTHON_ID_H +#include <Python.h> #include <iostream> using namespace std; @@ -12,8 +13,6 @@ extern "C" { /////////////////////////////////////////////////////////////////////////////////////////// -#include <Python.h> - extern PyTypeObject Id_Type; #define BPy_Id_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Id_Type) ) |