]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix compilation on FreeBSD without NFSv4 ACL support
authorMartin Matuska <martin@matuska.org>
Tue, 28 Mar 2017 09:40:25 +0000 (11:40 +0200)
committerMartin Matuska <martin@matuska.org>
Tue, 28 Mar 2017 09:40:25 +0000 (11:40 +0200)
libarchive/archive_disk_acl_freebsd.c

index 04a3fc065e1f61f4f646a680164bb484005d3507..eff9c22e94abc592d5d1fe3a60b52839350c25da 100644 (file)
@@ -105,11 +105,11 @@ translate_acl(struct archive_read_disk *a,
 #if ARCHIVE_ACL_FREEBSD_NFS4
        int brand;
        acl_flagset_t    acl_flagset;
+       acl_entry_type_t acl_type;
 #endif
        acl_tag_t        acl_tag;
        acl_entry_t      acl_entry;
        acl_permset_t    acl_permset;
-       acl_entry_type_t acl_type;
        int              i, entry_acl_type, perm_map_size;
        const acl_perm_map_t    *perm_map;
        int              r, s, ae_id, ae_tag, ae_perm;