Thanks for the patch, I've now applied it with the following ChangeLog entry:
2003-10-03 Gisle Vanem <[EMAIL PROTECTED]> * connect.c: And don't include them here. * mswindows.h: Include winsock headers here. However, I've postponed applying the part that changes `-d'. I agree that `-d' could stand improvement, but let's wait with that until 1.9 is released.