X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhost.c;h=d9753ab63f1ee7df741eb108928d923b1862fe82;hp=53a351e9991a5199de3e7f19d2144e862ce17e7d;hb=277e840a0f8e3ec8800cfe7407fe3c16000bc622;hpb=9000d2b527680b4b13964475d84df42815d40e37 diff --git a/src/host.c b/src/host.c index 53a351e9..d9753ab6 100644 --- a/src/host.c +++ b/src/host.c @@ -35,13 +35,8 @@ so, delete this exception statement from your version. */ #include #include -#ifdef HAVE_STRING_H -# include -#else -# include -#endif +#include #include -#include #ifndef WINDOWS # include @@ -64,16 +59,6 @@ so, delete this exception statement from your version. */ #include "hash.h" #include "connect.h" /* for socket_has_inet6 */ -#ifndef errno -extern int errno; -#endif - -#ifndef h_errno -# ifndef __CYGWIN__ -extern int h_errno; -# endif -#endif - #ifndef NO_ADDRESS # define NO_ADDRESS NO_DATA #endif