summaryrefslogtreecommitdiff
path: root/freebsd/sys/fs/nfsclient/nfs_clnfsiod.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2021-07-29 15:49:52 +1000
committerChris Johns <chrisj@rtems.org>2021-08-27 17:09:24 +1000
commit8f82901f4835aeb954589904c702525d2e0dd6e8 (patch)
treee1ff942c2eae4025154f0946a9fb902c5e0e0827 /freebsd/sys/fs/nfsclient/nfs_clnfsiod.c
parent68d1c9091ed9777c6db793ac135cd547fa4cc9bd (diff)
kern/sys: Add NFSv4 clientp7-4475-nfs-busspace-testsuite-nowait-3
Close #4475
Diffstat (limited to 'freebsd/sys/fs/nfsclient/nfs_clnfsiod.c')
-rw-r--r--freebsd/sys/fs/nfsclient/nfs_clnfsiod.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/freebsd/sys/fs/nfsclient/nfs_clnfsiod.c b/freebsd/sys/fs/nfsclient/nfs_clnfsiod.c
index 3f0fb777..b24b905d 100644
--- a/freebsd/sys/fs/nfsclient/nfs_clnfsiod.c
+++ b/freebsd/sys/fs/nfsclient/nfs_clnfsiod.c
@@ -1,3 +1,5 @@
+#include <machine/rtems-bsd-kernel-space.h>
+
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -55,10 +57,12 @@ __FBSDID("$FreeBSD$");
#include <sys/domain.h>
#include <sys/protosw.h>
#include <sys/namei.h>
-#include <sys/unistd.h>
+#include <rtems/bsd/sys/unistd.h>
#include <sys/kthread.h>
#include <sys/fcntl.h>
+#ifndef __rtems__
#include <sys/lockf.h>
+#endif /* __rtems__ */
#include <sys/mutex.h>
#include <sys/taskqueue.h>