https://bugs.winehq.org/show_bug.cgi?id=48800
--- Comment #5 from Hans Leidekker hans@meelstraat.net --- (In reply to Alexander Milyutin from comment #4)
Can you check how GNUTLS_VERSION_MAJOR is defined?
if you tell me how
$ grep -r GNUTLS_VERSION_MAJOR /usr/include
Assuming that's where your GnuTLS headers are installed.