added globbing support in the rsync daemon. This will allow you to
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index bbfe689..1311670 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -52,7 +52,7 @@
 #define CHUNK_SIZE (32*1024)
 #define MAX_MAP_SIZE (4*1024*1024)
 
-#define MAX_ARGS 100
+#define MAX_ARGS 1000
 
 #define BLOCKING_TIMEOUT 10
 
 #include "lib/getopt.h"
 #endif
 
+#ifdef HAVE_GLOB
+#include <glob.h>
+#endif
+
 /* these are needed for the uid/gid mapping code */
 #include <pwd.h>
 #include <grp.h>