X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a358449ab17f4e3c400d2a96acc900cfd0022f95..a8e2a43a099cfe25e8fb47a561574aa5ad908306:/rsync.h diff --git a/rsync.h b/rsync.h index c634bc39..d7db3cd4 100644 --- a/rsync.h +++ b/rsync.h @@ -389,7 +389,8 @@ static inline int flist_up(struct file_list *flist, int i) #include "byteorder.h" #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 @@ -562,3 +563,12 @@ size_t strlcat(char *d, const char *s, size_t bufsize); extern int verbose; + +#ifndef HAVE_INET_NTOP +const char * +inet_ntop(int af, const void *src, char *dst, size_t size); +#endif /* !HAVE_INET_NTOP */ + +#ifndef HAVE_INET_PTON +int isc_net_pton(int af, const char *src, void *dst); +#endif