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;