Andrew Dunstan <and...@dunslane.net> writes: > Yeah, src/include/port/win32/sys/socket.h has:
> #include <winsock2.h> > #include <ws2tcpip.h> > #include <windows.h> > I'm inclined to think we might need to reverse the order of the last > two. TBH I don't really understand how this has worked up to now. I see the same in src/include/port/win32_port.h ... wouldn't that get included first? regards, tom lane