summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-24 07:22:38 +0000
committerMartin Pool <mbp@samba.org>2002-01-24 07:22:38 +0000
commit58c2960960782a41d796892d7ead4b60e149b797 (patch)
tree7a1536377c45181a37cbdeeca8e375978a76dc58
parent00d943d513e9fb5863f2247f19340e0b7f476041 (diff)
downloadrsync-58c2960960782a41d796892d7ead4b60e149b797.tar.gz
Must get declarations from addrinfo.h before prototypes.
-rw-r--r--rsync.h3
1 files changed, 2 insertions, 1 deletions
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, ...);