]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs: Fix the nfs4acl build on FreeBSD
authorVolker Lendecke <vl@samba.org>
Wed, 31 Jul 2019 10:18:42 +0000 (12:18 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 6 Aug 2019 21:49:28 +0000 (21:49 +0000)
FreeBSD needs rpc/types.h before rpc/xdr.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/nfs4acl_xattr_nfs.c
source3/modules/nfs4acl_xattr_xdr.c

index 88f1c04b0eaadc85321d40c1c9b5956f1ce0a8a6..63726c3b29d444fe0d93f4e97f5762e084f2d244 100644 (file)
@@ -32,6 +32,9 @@
 #undef FALSE
 #endif
 
+#ifdef HAVE_RPC_TYPES_H
+#include <rpc/types.h>
+#endif
 #include <rpc/xdr.h>
 
 #include "nfs4_acls.h"
index 1db36e967699024d205c0d7dd7abbacbb8298b3b..b2878f2b637c9ccc5f93f9b79e1fd5effd9eb531 100644 (file)
@@ -36,6 +36,9 @@
 #undef FALSE
 #endif
 
+#ifdef HAVE_RPC_TYPES_H
+#include <rpc/types.h>
+#endif
 #include <rpc/xdr.h>
 #include "nfs41acl.h"
 #include "nfs4acl_xattr_xdr.h"