]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Must get declarations from addrinfo.h before prototypes.
authorMartin Pool <mbp@samba.org>
Thu, 24 Jan 2002 07:22:38 +0000 (07:22 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 24 Jan 2002 07:22:38 +0000 (07:22 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index b1e76ba07f3d41760cc85e45f3b026d9ae333bc0..01d8ccd8ba7a1ff3a5c7cd17964a1b77057063b0 100644 (file)
--- 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, ...);