From: Martin Pool Date: Thu, 24 Jan 2002 07:22:38 +0000 (+0000) Subject: Must get declarations from addrinfo.h before prototypes. X-Git-Tag: v2.5.2pre2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58c2960960782a41d796892d7ead4b60e149b797;p=thirdparty%2Frsync.git Must get declarations from addrinfo.h before prototypes. --- diff --git a/rsync.h b/rsync.h index b1e76ba0..01d8ccd8 100644 --- a/rsync.h +++ b/rsync.h @@ -422,11 +422,12 @@ 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" +#include "proto.h" + /* We have replacement versions of these if they're missing. */ #ifndef HAVE_ASPRINTF int asprintf(char **ptr, const char *format, ...);