X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/2624e005e2c2407c8e108230e6615d2aaba42617..53e6507e1411f678ea19cde8133c22c331e396fb:/rsync.h diff --git a/rsync.h b/rsync.h index 4a5313e9..1b73031b 100644 --- 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 #endif @@ -465,6 +473,8 @@ typedef unsigned int mode_t; #endif #ifndef HAVE_OFF_T typedef long off_t; +#undef SIZEOF_OFF_T +#define SIZEOF_OFF_T SIZEOF_LONG #endif #ifndef HAVE_SIZE_T typedef unsigned int size_t;