From 9dda11e0f1c0393145c4738f4e8d1050cceb6c3a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 18 Apr 2011 10:18:35 +0000 Subject: correction for windows. --- source/blender/python/generic/py_capi_utils.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source') diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c index de9bfb4013b..ec774f44075 100644 --- a/source/blender/python/generic/py_capi_utils.c +++ b/source/blender/python/generic/py_capi_utils.c @@ -32,6 +32,10 @@ #include "BKE_font.h" /* only for utf8towchar, should replace with py funcs but too late in release now */ +#ifdef _WIN32 /* BLI_setenv */ +#include "BLI_path_util.h" +#endif + #define PYC_INTERPRETER_ACTIVE (((PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current)) != NULL) /* for debugging */ -- cgit v1.2.3