This seems to be a duplicate of bug #5.
It seems that this svn server had gone away as a result of Mandriva's liquidation. So I have searched the web but haven't found these patches elsewhere. Even though I guess Dmitry's patches have been similar to the one that I have prepared in answer to a Debian bug report, simply because the Makefile changes are quite simple and straightforward. I also put this patch here just to make sure it remains to be found in any case.
It is still annoying that strcasecmp() is not available after including strings.h....
Thank you for patching!
Thank you for the review! However, #if _POSIX_C_SOURCE won't work if _POSIX_C_SOURCE...
GetThreadId() missing in older Win32 API, proposing to use GetCurrentThreadId() instead
math.h: mathematical constants undefined if GCC defines __STRICT_ANSI__