Some platforms may have getaddrinfo() but not sockaddr_storage.
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 191ea5e..f723b34 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -390,6 +390,7 @@ static inline int flist_up(struct file_list *flist, int i)
 #include "proto.h"
 #include "lib/mdfour.h"
 #include "lib/permstring.h"
+#include "lib/addrinfo.h"
 
 /* We have replacement versions of these if they're missing. */
 #ifndef HAVE_ASPRINTF