Sorry to be a broken record here. 2b1dd8d adds back the inclusion guards HAVE_SYS_SOCKET_H and HAVE_SYS_SELECT_H, but configure does not check gnulib headers when checking for those. The mingw build breaks
--2012-05-31 23:14:22-- http://www.paypal.com/ Resolving www.paypal.com (www.paypal.com)... 173.0.84.34, 173.0.88.2, 173.0.88.3 4, ... Connecting to www.paypal.com (www.paypal.com)|173.0.84.34|:80... connected. ioctl() failed. The socket could not be set as blocking. Refer to http://lists.gnu.org/archive/html/bug-wget/2012-03/msg00082.html. The issue with keeping those guards would be how to check gnulib headers using AC_CHECK_HEADERS, or maybe some other way, or maybe always define since they are always there?... or they are not there on VMS? I don't know the right way to solve this for everyone. I thought wget was dependent on gnulib.
