X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/da6eb9d123caf52640ae0cd6017fb0b657188c89..58af2f958cc9d66f09a58f24d4bfc153f63a6846:/syscall.c diff --git a/syscall.c b/syscall.c index f34774ce..d093aaec 100644 --- a/syscall.c +++ b/syscall.c @@ -72,6 +72,9 @@ int do_lchown(const char *path, uid_t owner, gid_t group) { if (dry_run) return 0; RETURN_ERROR_IF_RO_OR_LO; +#ifndef HAVE_LCHOWN +#define lchown chown +#endif return lchown(path, owner, group); }