Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Umer Saleem <[email protected]>
  • Loading branch information
usaleem-ix committed Jan 16, 2025
1 parent c30690f commit fa4c89c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/zfsacl.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/

#ifndef __ZFSACL_H__
#define __ZFSACL_H__
#define __ZFSACL_H__ extern __attribute__((visibility("default")))

#include <zfs_config.h>
#include <stdio.h>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit fa4c89c

Please sign in to comment.