http://bugs.winehq.org/show_bug.cgi?id=36481
--- Comment #1 from Ken Thomases ken@codeweavers.com --- How exactly are you building Wine? In particular, the errors you quoted suggest that the headers do in fact declare those identifiers but have marked them as unavailable using attributes. That suggests you are building with an SDK more recent than 10.5 but setting the deployment target to 10.5.
The typical solution would be to wrap the relevant code with:
#if defined(MAC_OS_X_VERSION_10_5) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 ... #endif
I'm not sure if that will help, depending on how you're building.