diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-18 14:18:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-18 14:18:35 +0400 |
commit | 9dda11e0f1c0393145c4738f4e8d1050cceb6c3a (patch) | |
tree | ea26866359dd6cceced32e5c8a4a00a41326a87c /source/blender | |
parent | fae253a428e37c1e2c2c8ad30fdf01914cec4dda (diff) |
correction for windows.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/generic/py_capi_utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |