]> sjero.net Git - wget/blobdiff - src/http.c
[svn] Include <netdb.h> where h_errno is used. Likewise for <errno.h> and errno.
[wget] / src / http.c
index 676fef5b7db4a0845d5b7a75380e1aab58ede452..8f0e86d799076a2bedb3ebdf8075d007c9d3085a 100644 (file)
@@ -46,6 +46,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #ifdef WINDOWS
 # include <winsock.h>
+#else
+# include <netdb.h>            /* for h_errno */
 #endif
 
 #include "wget.h"