When running with --fake-super, get/put ACLs from/to an xattr and don't
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 17b6a33..503713b 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -242,6 +242,9 @@ enum msgcode {
 #ifdef HAVE_INTTYPES_H
 # include <inttypes.h>
 #endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
@@ -846,7 +849,7 @@ typedef struct {
 #ifdef SUPPORT_XATTRS
     item_list *xattr;
 #endif
-} statx;
+} stat_x;
 
 #define ACL_READY(sx) ((sx).acc_acl != NULL)
 #define XATTR_READY(sx) ((sx).xattr != NULL)