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;
}