http://bugs.winehq.org/show_bug.cgi?id=26643
--- Comment #2 from Austin English austinenglish@gmail.com 2011-04-19 13:22:08 CDT --- Created an attachment (id=34224) --> (http://bugs.winehq.org/attachment.cgi?id=34224) configure check
You need a configure check for that function, something like the attached (untested). Be sure to run autoconf before testing.