http://bugs.winehq.org/show_bug.cgi?id=4626
------- Additional Comments From hans@it.vu.nl 2006-20-02 09:15 ------- What does grep GETNAMEINFO include/config.h{,.in} say?
You may need to do a make distclean to get this working, although I didn't need to myself.