]> sjero.net Git - wget/blobdiff - src/host.c
Declare h_errno if no declaration provided (HP-UX).
[wget] / src / host.c
index fdb35b1cad2bc92c5fa935eb2f7f5fbdfcbea493..e65a23aa147a5f9d6a02c2d67b7c3b656c94b0c3 100644 (file)
@@ -58,6 +58,11 @@ as that of the covered work.  */
 # define NO_ADDRESS NO_DATA
 #endif
 
+#if !HAVE_DECL_H_ERRNO
+extern int h_errno;
+#endif
+
+
 /* Lists of IP addresses that result from running DNS queries.  See
    lookup_host for details.  */