]> sjero.net Git - wget/blobdiff - src/http.c
[svn] Declare h_errno in host.c, but not elsewhere.
[wget] / src / http.c
index 261b51e4cf980ad50c0e6fbc8dfc3241d8e86900..16f5dc2da082a920f2a94b6386203456146d5824 100644 (file)
@@ -44,12 +44,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 # endif
 #endif
 
-#ifdef WINDOWS
-# include <winsock.h>
-#else
-# include <netdb.h>            /* for h_errno */
-#endif
-
 #include "wget.h"
 #include "utils.h"
 #include "url.h"
@@ -73,11 +67,6 @@ extern char *version_string;
 #ifndef errno
 extern int errno;
 #endif
-#ifndef h_errno
-# ifndef __CYGWIN__
-extern int h_errno;
-# endif
-#endif
 \f
 static int cookies_loaded_p;