]> sjero.net Git - wget/blobdiff - src/host.c
[svn] Declare h_errno in host.c, but not elsewhere.
[wget] / src / host.c
index 77984722e7044233f8a98f738cc6b23b8c9c0c82..a769fd9725d5d99470320526442790fc5ba9d0ae 100644 (file)
@@ -59,6 +59,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 extern int errno;
 #endif
 
+#ifndef h_errno
+# ifndef __CYGWIN__
+extern int h_errno;
+# endif
+#endif
+
 #define IP4_ADDRESS_LENGTH 4
 
 /* Mapping between known hosts and to lists of their addresses. */