From 066c6f685de450dae62a5f659bd9d047f342491e Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 16 Sep 2018 10:37:49 +0200 Subject: [PATCH] Fixed failure to build on NetBSD because of undeclared variable --- libisofs/aaip-os-freebsd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libisofs/aaip-os-freebsd.c b/libisofs/aaip-os-freebsd.c index 6d4c036..2a46313 100644 --- a/libisofs/aaip-os-freebsd.c +++ b/libisofs/aaip-os-freebsd.c @@ -406,8 +406,9 @@ int aaip_get_attr_list(char *path, size_t *num_attrs, char ***names, char *list= NULL, *user_list= NULL, *sys_list= NULL; ssize_t value_ret, list_size= 0, user_list_size= 0; ssize_t sys_list_size= 0; - int acl_names= 0, no_perm_for_system= 0; + int acl_names= 0; #endif + int no_perm_for_system= 0; if(flag & (1 << 15)) { /* Free memory */ {ret= 1; goto ex;}