The ws2tcpip.h header needs to include winsock2. MSDN, etc notes that only the ws2tcpip header is required to get the definitions, and the Platform SDK header also includes it.
Found it when trying to use the gnulib socket libraries, in which the configure script (M4) don't include winsock2.h prior to testing the usefulness of the ws2tcpip.h header.
Attached patch (2 liner) fixes.
Log in to post a comment.