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 b1e76ba..01d8ccd 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, ...);