Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-06-18 12:31:16 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-06-18 12:32:25 +0400
commit87930eb7c24e9e3be65c92062c4c8623aea2dda8 (patch)
tree5d8d2abb995de3c9e632bebda2094b9642123fe0 /source/blender/python
parentbb9719b7ab236508c587bd51beeff9b4d85b58e7 (diff)
Hopefully fix compilation with old MSVC2008/WIN32...
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/generic/py_capi_utils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c
index 8454f5b5887..96b5707ec27 100644
--- a/source/blender/python/generic/py_capi_utils.c
+++ b/source/blender/python/generic/py_capi_utils.c
@@ -40,8 +40,9 @@
/* only for BLI_strncpy_wchar_from_utf8, should replace with py funcs but too late in release now */
#include "BLI_string_utf8.h"
-#ifdef _WIN32 /* BLI_setenv */
-#include "BLI_path_util.h"
+#ifdef _WIN32
+#include "BLI_path_util.h" /* BLI_setenv() */
+#include "BLI_math_base.h" /* finite() */
#endif
/* array utility function */