http://bugs.winehq.org/show_bug.cgi?id=32369
--- Comment #9 from Dmitry Timoshkov dmitry@baikal.ru 2012-12-06 03:59:22 CST --- (In reply to comment #8)
Created attachment 42725 [details] patch
Does this patch work for you?
Yes, this patch fixes fallocate() detection here (HAVE_FALLOCATE is not defined by configure). Perhaps _GNU_SOURCE should be defined by a generic API detector, since wine/port.h forces its definition anyway?