http://bugs.winehq.org/show_bug.cgi?id=16933
--- Comment #2 from Austin English austinenglish@gmail.com 2009-01-14 15:58:46 --- Created an attachment (id=18700) --> (http://bugs.winehq.org/attachment.cgi?id=18700) patch to fix it
This patch from NetBSD ports fixes it. The __NetBSD_Version__ stuff is ugly, so I'll see if I can't clean it up a bit better.