From cc1b3ee3a997b027a0c443829a167a4aaeb04175 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Tue, 28 Mar 2017 11:40:25 +0200 Subject: [PATCH] Fix compilation on FreeBSD without NFSv4 ACL support --- libarchive/archive_disk_acl_freebsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/archive_disk_acl_freebsd.c b/libarchive/archive_disk_acl_freebsd.c index 04a3fc065..eff9c22e9 100644 --- a/libarchive/archive_disk_acl_freebsd.c +++ b/libarchive/archive_disk_acl_freebsd.c @@ -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; -- 2.47.2