If HAVE_SELECT is not set then init.c will fail to compile because it
expects a field 'timeout' in the opt struct, but this field is not there
when HAVE_SELECT is unset. The fix is to make the "timeout" option also
conditional on HAVE_SELECT:
--- wget-1.8.2/src/init.c Sat May 18 04:05:19 2002
+++ wget-1.8.2-new/src/init.c Tue Jan 7 17:34:00 2003
@@ -192,7 +192,9 @@
{ "sslcertkey", &opt.sslcertkey, cmd_file },
{ "egdfile", &opt.sslegdsock, cmd_file },
#endif /* HAVE_SSL */
+#ifdef HAVE_SELECT
{ "timeout", &opt.timeout, cmd_time },
+#endif /* HAVE_SELECT */
{ "timestamping", &opt.timestamping, cmd_boolean },
{ "tries", &opt.ntry, cmd_number_inf },
{ "useproxy", &opt.use_proxy, cmd_boolean },
--
Ed Avis <[EMAIL PROTECTED]>