diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript index 8950c4f7702..778cbef2a8b 100644 --- a/source/blender/blenloader/SConscript +++ b/source/blender/blenloader/SConscript @@ -35,6 +35,9 @@ incs += ' ../render/extern/include ../makesrna ../nodes ../bmesh ../imbuf' incs += ' ' + env['BF_ZLIB_INC'] +if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): + incs += ' ' + env['BF_PTHREADS_INC'] + defs = [] if env['WITH_BF_INTERNATIONAL']: