vfs: Fix the FreeBSD nfs4acl build
authorVolker Lendecke <vl@samba.org>
Wed, 31 Jul 2019 09:37:59 +0000 (11:37 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 6 Aug 2019 21:49:28 +0000 (21:49 +0000)
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 <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/nfs4acl_xattr_ndr.h
source3/modules/nfs4acl_xattr_nfs.h

index 7db4ce734f5ea7c23ef5661cfe6b0ad0d1f9160f..17cf9da6ae3e08c0b9454841219e2ca5357c1d7a 100644 (file)
@@ -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,
index 47e5b1a48c1601acfc983bb5445650af257ab337..3c4109c4813026a0ec6c5ba7822b993ba469ce26 100644 (file)
@@ -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,