From: Volker Lendecke Date: Wed, 31 Jul 2019 10:18:42 +0000 (+0200) Subject: vfs: Fix the nfs4acl build on FreeBSD X-Git-Tag: tdb-1.4.2~307 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42e72f1a30db9090d53669ca68cc71bbe784758d;p=thirdparty%2Fsamba.git vfs: Fix the nfs4acl build on FreeBSD FreeBSD needs rpc/types.h before rpc/xdr.h Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/nfs4acl_xattr_nfs.c b/source3/modules/nfs4acl_xattr_nfs.c index 88f1c04b0ea..63726c3b29d 100644 --- a/source3/modules/nfs4acl_xattr_nfs.c +++ b/source3/modules/nfs4acl_xattr_nfs.c @@ -32,6 +32,9 @@ #undef FALSE #endif +#ifdef HAVE_RPC_TYPES_H +#include +#endif #include #include "nfs4_acls.h" diff --git a/source3/modules/nfs4acl_xattr_xdr.c b/source3/modules/nfs4acl_xattr_xdr.c index 1db36e96769..b2878f2b637 100644 --- a/source3/modules/nfs4acl_xattr_xdr.c +++ b/source3/modules/nfs4acl_xattr_xdr.c @@ -36,6 +36,9 @@ #undef FALSE #endif +#ifdef HAVE_RPC_TYPES_H +#include +#endif #include #include "nfs41acl.h" #include "nfs4acl_xattr_xdr.h"