https://bugs.openldap.org/show_bug.cgi?id=8383
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED Target Milestone|2.5.0 |2.4.50
--- Comment #6 from Quanah Gibson-Mount quanah@openldap.org --- commit 6fe9b0c65479363e4f9f03dd85fc81b2940f62df Author: Ryan Tandy ryan@nardis.ca Date: Sun Sep 1 11:53:37 2019 -0700
ITS#8383 Look for socklen_t in <ws2tcpip.h> too
MinGW targets do not have the <sys/socket.h> header. The configure check would conclude that there is no socklen_t type, resulting in portable.h containing its own definition of socklen_t, which would later conflict with the actual definition in <ws2tcpip.h>.
Add <ws2tcpip.h> to the configure check for socklen_t, so that the defined type is correctly detected.