Separate the daemon options so that the user can't mix client options
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 086eb42..fb6b78c 100644 (file)
--- a/rsync.h
+++ b/rsync.h
 #define XFLG_DEF_INCLUDE       (1<<1)
 #define XFLG_WORDS_ONLY        (1<<2)
 #define XFLG_WORD_SPLIT        (1<<3)
+#define XFLG_DIRECTORY         (1<<4)
 
 #define PERMS_REPORT           (1<<0)
 #define PERMS_SKIP_MTIME       (1<<1)
@@ -254,6 +255,9 @@ enum msgcode {
 
 #if MAJOR_IN_MKDEV
 #include <sys/mkdev.h>
+# if !defined(makedev) && defined(mkdev)
+#  define makedev mkdev
+# endif
 #elif MAJOR_IN_SYSMACROS
 #include <sys/sysmacros.h>
 #endif