It fails on the #include "winternl.h" line and these are standard includes, you can try to replace
[code] #include <stdarg.h> #include <stdio.h> [/code]
code fragment with
[code] #include "config.h" #include "wine/port.h"
#include <assert.h> #include <stdarg.h> #include <stdio.h> [/code]
maybe that will change something.
Unfortunately that's too generic for me (i can't handle code) :-( I would need it in more detail way or a patch. But i'm not asking you from that. I do not want to waste developers time ;)
Others that have successfully built with the patch applied are WINE's testbot and two persons from http://bugs.winehq.org/show_bug.cgi?id=20395
Maybe gcc 4.4.5 is too old or i'm extremly dumb today :-/
Regards, W.