X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fconnect.c;h=436258c3f0d2a07fef5082e627e6051901f2573a;hp=16b6de6c3412c0ea8abbd7e6b145d35e3174cfef;hb=277e840a0f8e3ec8800cfe7407fe3c16000bc622;hpb=9000d2b527680b4b13964475d84df42815d40e37 diff --git a/src/connect.c b/src/connect.c index 16b6de6c..436258c3 100644 --- a/src/connect.c +++ b/src/connect.c @@ -31,7 +31,6 @@ so, delete this exception statement from your version. */ #include #include -#include #ifdef HAVE_UNISTD_H # include #endif @@ -47,11 +46,7 @@ so, delete this exception statement from your version. */ #endif /* not WINDOWS */ #include -#ifdef HAVE_STRING_H -# include -#else -# include -#endif /* HAVE_STRING_H */ +#include #ifdef HAVE_SYS_SELECT_H # include #endif /* HAVE_SYS_SELECT_H */ @@ -62,10 +57,6 @@ so, delete this exception statement from your version. */ #include "connect.h" #include "hash.h" -#ifndef errno -extern int errno; -#endif - /* Define sockaddr_storage where unavailable (presumably on IPv4-only hosts). */