A fix that lets xattr support be compiled without ACL support.
[rsync/rsync-patches.git] / xattrs.diff
index 2b8412d..74a00d9 100644 (file)
@@ -227,6 +227,15 @@ TODO:
  
        return file;
  }
+@@ -974,7 +985,7 @@ static struct file_struct *send_file_nam
+                                         unsigned short flags)
+ {
+       struct file_struct *file;
+-#ifdef SUPPORT_ACLS
++#if defined SUPPORT_ACLS || defined SUPPORT_XATTRS
+       statx sx;
+ #endif
 @@ -994,6 +1005,13 @@ static struct file_struct *send_file_nam
                        return NULL;
        }