diff options
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/BPY_extern.h | 2 | ||||
-rw-r--r-- | source/blender/python/generic/blf_py_api.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 810c86c115a..d4e57f0beb6 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -39,6 +39,8 @@ struct bPythonConstraint; /* DNA_constraint_types.h */ extern "C" { #endif +#include "BLI_utildefines.h" + void BPY_pyconstraint_exec(struct bPythonConstraint *con, struct bConstraintOb *cob, struct ListBase *targets); diff --git a/source/blender/python/generic/blf_py_api.h b/source/blender/python/generic/blf_py_api.h index d55dd85854e..919272df942 100644 --- a/source/blender/python/generic/blf_py_api.h +++ b/source/blender/python/generic/blf_py_api.h @@ -21,6 +21,8 @@ * \ingroup pygen */ +#include <Python.h> + PyObject *BPyInit_blf(void); #endif /* __BLF_PY_API_H__ */ |