]> sjero.net Git - wget/commitdiff
Revert 2b1dd8d23b987a82d03cfa803aabcb02f80e1066
authorGiuseppe Scrivano <gscrivano@gnu.org>
Sat, 2 Jun 2012 17:36:45 +0000 (19:36 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Sat, 2 Jun 2012 17:36:45 +0000 (19:36 +0200)
src/ChangeLog
src/connect.c

index 9e74e474683e9f5bfd2ae9bda109f2876bf98cd3..5639fd12e8bce83c07431cad9072c8510891c968 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-02  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * connect.c: Include <sys/socket.h> and <sys/select.h>.
+
 2012-05-30  Gijs van Tulder  <gvtulder@gmail.com>
 
        * warc.c: Fix segfault if CDX record is not found.
index 6eca1ded24464daf542c5b41281d30c8eea51614..119ccb71b678b33babd1b5c995c6fd8f65f9fe07 100644 (file)
@@ -36,13 +36,8 @@ as that of the covered work.  */
 #include <unistd.h>
 #include <assert.h>
 
-#ifdef HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif /* def HAVE_SYS_SOCKET_H */
-
-#ifdef HAVE_SYS_SELECT_H
-# include <sys/select.h>
-#endif /* def HAVE_SYS_SELECT_H */
+#include <sys/socket.h>
+#include <sys/select.h>
 
 #ifndef WINDOWS
 # ifdef __VMS