Some platforms may have getaddrinfo() but not sockaddr_storage.
[rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 191ea5e47509a92451388b52b91a616b73efcc7d..f723b34cc3c6c619b9cc5170ed11980bb64c2ea7 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