http://bugs.winehq.org/show_bug.cgi?id=21181
--- Comment #21 from Austin English austinenglish@gmail.com 2010-06-15 14:52:30 --- Looks like the cmd and other programs failing to build is fixed by http://source.winehq.org/git/wine.git/?a=commitdiff;h=5f7bbb2ab2ce4f2d66e610....
The build currently fails for me in dlls/ws2_32/tests/sock.c. See bug 23200.