]> git.ipfire.org Git - thirdparty/openldap.git/commit
ITS#8383 Look for socklen_t in <ws2tcpip.h> too
authorRyan Tandy <ryan@nardis.ca>
Sun, 1 Sep 2019 18:53:37 +0000 (11:53 -0700)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 16 Apr 2020 16:48:50 +0000 (16:48 +0000)
commit6fe9b0c65479363e4f9f03dd85fc81b2940f62df
treec06f73f59f188e3628b3e7dcf4220f953493de6e
parent3347905d42eb1132cd84258c73c0fae892c6ef60
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.
configure.in