Some platforms may have getaddrinfo() but not sockaddr_storage.
[rsync/rsync.git] / socket.c
index 02a2511..2c2191e 100644 (file)
--- a/socket.c
+++ b/socket.c
 
 #include "rsync.h"
 
-#ifndef HAVE_GETADDRINFO
-#include "lib/addrinfo.h"
-#endif
-
 /* Establish a proxy connection on an open socket to a web roxy by
  * using the CONNECT method. */
 static int establish_proxy_connection(int fd, char *host, int port)