X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6813fa7eac1c7d1c26c43b3b62c53285a6364dbb..38b02c13d0173fc4a1ee67d67ceefc7107eefdc0:/rsync.h diff --git a/rsync.h b/rsync.h index 83919915..47943f30 100644 --- a/rsync.h +++ b/rsync.h @@ -122,6 +122,10 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 }; #ifdef HAVE_STDLIB_H #include +#else +#ifdef HAVE_MALLOC_H +#include +#endif #endif #ifdef HAVE_SYS_SOCKET_H @@ -132,10 +136,6 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 }; #include #endif -#ifdef HAVE_MALLOC_H -#include -#endif - #ifdef TIME_WITH_SYS_TIME #include #include @@ -192,12 +192,6 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 }; #endif #endif -#ifdef HAVE_FNMATCH -#include -#else -#include "lib/fnmatch.h" -#endif - #ifdef HAVE_GLOB_H #include #endif @@ -467,6 +461,7 @@ static inline int flist_up(struct file_list *flist, int i) #include "byteorder.h" #include "lib/mdfour.h" +#include "lib/wildmatch.h" #include "lib/permstring.h" #include "lib/addrinfo.h"