]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs: fix the build of nfs4acl_xattr_ without rpc/xdr.h support
authorStefan Metzmacher <metze@samba.org>
Wed, 27 Mar 2019 03:34:12 +0000 (04:34 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 25 Nov 2022 06:07:32 +0000 (06:07 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Nov 25 06:07:32 UTC 2022 on sn-devel-184

source3/modules/nfs4acl_xattr_nfs.c
source3/modules/nfs4acl_xattr_util.c

index 59e02bf157749d891f9223686a669e8b103d3f3d..698630f3e6fd6b1d212584acbcc9d437a373b3f4 100644 (file)
@@ -874,6 +874,7 @@ NTSTATUS nfs4acl_nfs_blob_to_smb4(struct vfs_handle_struct *handle,
 }
 
 #else /* !HAVE_RPC_XDR_H */
+#include "nfs4_acls.h"
 #include "nfs4acl_xattr_nfs.h"
 NTSTATUS nfs4acl_nfs_blob_to_smb4(struct vfs_handle_struct *handle,
                                  TALLOC_CTX *mem_ctx,
index 8ea1e76ad17519284e7877f654e6ec9f7ef89d68..998dbf2df4d7f06ea8a4417e0de7842c7b2fa3cc 100644 (file)
@@ -29,7 +29,6 @@
 #ifdef FALSE
 #undef FALSE
 #endif
-#endif
 
 #include "nfs4_acls.h"
 #include "nfs41acl.h"
@@ -71,3 +70,4 @@ uint16_t nfs4acl_to_smb4acl_flags(unsigned nfsacl41_flags)
 
        return smb4acl_flags;
 }
+#endif /* HAVE_RPC_XDR_H */