From fa4c89cdb0ff4e9dd81e2e0f623c436bfbbc91fb 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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/zfsacl.h b/include/zfsacl.h index aeef4c6aeaba..f0c5ee5debed 100644 --- a/include/zfsacl.h +++ b/include/zfsacl.h @@ -25,7 +25,7 @@ */ #ifndef __ZFSACL_H__ -#define __ZFSACL_H__ +#define __ZFSACL_H__ extern __attribute__((visibility("default"))) #include #include @@ -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;