Can't compile latest SVN with IBL patch

Tried to compile latest SVN with applied IBL patch (ibl6.txt from patch tracker) and I got following error:

//***********************************************************************************************
Compiling ==> ‘KX_BlenderGL.cpp’
Compiling ==> ‘KX_BlenderMouseDevice.cpp’
Compiling ==> ‘KX_BlenderRenderTools.cpp’

In file included from source\gameengine\BlenderRoutines\KX_BlenderGL.cpp:40:
source/blender/blenlib/BLI_winstuff.h:31: warning: ignoring #pragma warning
In file included from source\gameengine\BlenderRoutines\KX_BlenderGL.cpp:57:
source/blender/makesdna/DNA_world_types.h:119: error: field `ibl_iuser’ has inco
mplete type

=====
scons: *** [C:\install\source\gameengine\BlenderRoutines\KX_BlenderGL.o] Error 1

scons: building terminated because of errors.
C:\build\blender>
//************************************************************************************************

Help, please!
Thank you!

which IBL patch is this one?

A new one?

Claas

Are you sure the patch applied fine? If not, check the errors and fix them as needed. Sometimes you need to shift stuff around a bit to get patches work.

I assume I applied it correctly because I haven’t gotten any errors after I applied it. I have no clue why do I get the error.

Okay. Then it’s possible that even if it applied fine, the code has changed a bit in some other place breaking it. Take a good look at DNA_world_types.h . Especially line 119 and the type of the variable.