https://bugs.openldap.org/show_bug.cgi?id=9481
--- Comment #3 from henson@acm.org henson@acm.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/262
After adding this #ifdef, it compiles ok? You mentioned multiple issues? I configured with --disable-ipv6 and this is the only failure I ran into. Do I need to do some further testing or other operations to hit the other issues? The other references to IPv6 in this file are part of the proxy protocol and need to be there regardless of whether openldap itself supports IPv6.