https://bugs.winehq.org/show_bug.cgi?id=55818
--- Comment #25 from Tom M tmwine@pertho.net --- I've attempted to compile WINE 6.0, but it doesn't work. I get:
dlls/wldap32/winldap_private.h:323:13: error: conflicting types for 'ldap_connect'; have 'ULONG(WLDAP32_LDAP *, LDAP_TIMEVAL *)' {aka 'un signed int(struct wldap32 *, struct l_timeval *)'} 323 | ULONG CDECL ldap_connect(WLDAP32_LDAP*,LDAP_TIMEVAL*); | ^~~~~~~~~~~~
Supposedly, downgrading openldap to 2.4 fixes this, but I wonder if I could patch the WINE 6.0 source to include the proper type for 'ldap_connect'?