]> sjero.net Git - wget/blobdiff - src/connect.c
Automated merge.
[wget] / src / connect.c
index 6cfdb4b73f6b310632419a461c2e982e8a3033da..b54db2384c93e940146db6503c4959a36bccf00a 100644 (file)
@@ -39,7 +39,11 @@ as that of the covered work.  */
 
 #ifndef WINDOWS
 # include <sys/socket.h>
-# include <netdb.h>
+# ifdef __VMS
+#  include "vms_ip.h"
+# else /* def __VMS */
+#  include <netdb.h>
+# endif /* def __VMS [else] */
 # include <netinet/in.h>
 # ifndef __BEOS__
 #  include <arpa/inet.h>
@@ -58,7 +62,11 @@ as that of the covered work.  */
 #include "host.h"
 #include "connect.h"
 #include "hash.h"
-#include "iri.h"
+
+/* Apparently needed for Interix: */
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
 
 /* Define sockaddr_storage where unavailable (presumably on IPv4-only
    hosts).  */