diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-08-22 19:00:30 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-08-22 19:00:30 +0400 |
commit | 7630539fe88b3c0dc353ae194baea8d757b79cae (patch) | |
tree | f90a17933b280abcb5d1e921430fe8b950bd42d8 /source/gameengine/Ketsji/KX_PythonInit.cpp | |
parent | 39a8125e4ce362a7e080408834f8587f6c52f1b6 (diff) |
Fix Windows compilation problem and update MSVC project files
Diffstat (limited to 'source/gameengine/Ketsji/KX_PythonInit.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_PythonInit.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp index 6179d614e8c..5d2126ca37a 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.cpp +++ b/source/gameengine/Ketsji/KX_PythonInit.cpp @@ -30,8 +30,13 @@ #include "GL/glew.h" +// directory header for py function getBlendFileList #include <stdlib.h> -#include <dirent.h> // directory header for py function getBlendFileList +#ifndef WIN32 + #include <dirent.h> +#else + #include "BLI_winstuff.h" +#endif #ifdef WIN32 #pragma warning (disable : 4786) |