From: Volker Lendecke Date: Wed, 31 Jul 2019 09:37:59 +0000 (+0200) Subject: vfs: Fix the FreeBSD nfs4acl build X-Git-Tag: tdb-1.4.2~311 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d103af280afd29d633b1958620e7b3beddfd6087;p=thirdparty%2Fsamba.git vfs: Fix the FreeBSD nfs4acl build I get error messages telling SMB4ACL_T isn't defined in the prototype. Take the easy way to just define that anonymously. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/nfs4acl_xattr_ndr.h b/source3/modules/nfs4acl_xattr_ndr.h index 7db4ce734f5..17cf9da6ae3 100644 --- a/source3/modules/nfs4acl_xattr_ndr.h +++ b/source3/modules/nfs4acl_xattr_ndr.h @@ -29,6 +29,8 @@ #ifndef __NFS4ACL_XATTR_NDR_H__ #define __NFS4ACL_XATTR_NDR_H__ +struct SMB4ACL_T; + NTSTATUS nfs4acl_ndr_blob_to_smb4(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, DATA_BLOB *blob, diff --git a/source3/modules/nfs4acl_xattr_nfs.h b/source3/modules/nfs4acl_xattr_nfs.h index 47e5b1a48c1..3c4109c4813 100644 --- a/source3/modules/nfs4acl_xattr_nfs.h +++ b/source3/modules/nfs4acl_xattr_nfs.h @@ -21,6 +21,8 @@ #define NFS4ACL_NFS_XATTR_NAME "system.nfs4_acl" +struct SMB4ACL_T; + NTSTATUS nfs4acl_nfs_blob_to_smb4(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, DATA_BLOB *blob,