]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Include "lib/wildmatch.h", not "lib/fnmatch.h" or <fnmatch.h>.
authorWayne Davison <wayned@samba.org>
Wed, 30 Jul 2003 06:12:31 +0000 (06:12 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 30 Jul 2003 06:12:31 +0000 (06:12 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index 83919915db70c4d24f1a1bf2bef5d78c1a57350a..52b3e70ed1b835352688aa05040088c80b74def0 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -192,12 +192,6 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 };
 #endif
 #endif
 
-#ifdef HAVE_FNMATCH
-#include <fnmatch.h>
-#else
-#include "lib/fnmatch.h"
-#endif
-
 #ifdef HAVE_GLOB_H
 #include <glob.h>
 #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"