Fix issues with unchanged_attrs() for symlinks.
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 3404da7..1b73031 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -370,6 +370,14 @@ enum delret {
 #define CAN_SET_SYMLINK_TIMES 1
 #endif
 
+#if defined HAVE_LCHOWN || defined CHOWN_MODIFIES_SYMLINK
+#define CAN_CHOWN_SYMLINK 1
+#endif
+
+#if defined HAVE_LCHMOD || defined HAVE_SETATTRLIST
+#define CAN_CHMOD_SYMLINK 1
+#endif
+
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif