From 9412883c3804612553e3071f5039871c371788db Mon Sep 17 00:00:00 2001 From: Umer Saleem Date: Thu, 16 Jan 2025 18:33:26 +0500 Subject: [PATCH] test Signed-off-by: Umer Saleem --- include/zfsacl.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/zfsacl.h b/include/zfsacl.h index aeef4c6aeaba..dd5dd7dc6b0e 100644 --- a/include/zfsacl.h +++ b/include/zfsacl.h @@ -72,17 +72,17 @@ struct native_acl { zfsacl_brand_t brand; }; -#ifdef __FREEBSD__ -#define _ACL_PRIVATE -#define zfsacl_entry acl_entry -#define zfsacl acl_t_struct -#else +#ifdef __linux__ struct zfsacl_entry { uint_t netlong[5]; }; struct zfsacl { size_t aclbuf_size; zfsacl_brand_t brand; uint_t *aclbuf; }; +#else +#define _ACL_PRIVATE +#define zfsacl_entry acl_entry +#define zfsacl acl_t_struct #endif typedef struct zfsacl_entry *zfsacl_entry_t;