It works (stdlib.h did nothing, but adding errno.h helped).
However, there is one more problem. I use "scons dist" command.
It should create zip and installer. But, when scons run makensis it hangs. So, i can not run just compiled makensis.exe. Windows displays error message - makensis.exe stopped working, etc...
Here is a log:
http://www.meggamusic.co.uk/shup/137..._Build_Log.txt
Here is a screen:
http://www.meggamusic.co.uk/shup/1374012698/Screen.png
Should I provide something else? I wonder why it crash...
-Pawel
Ps: Thanks for your patience, Anders... I have to tell, that each time i try to compile nsis sources i have some problems.