[libbsd 06/22] nfsclient: Include header for rtems_version()

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jun 24 06:33:34 UTC 2022


Update #4475.
---
 freebsd/sys/fs/nfsclient/nfs_clrpcops.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/freebsd/sys/fs/nfsclient/nfs_clrpcops.c b/freebsd/sys/fs/nfsclient/nfs_clrpcops.c
index 53e4a525..85238daa 100644
--- a/freebsd/sys/fs/nfsclient/nfs_clrpcops.c
+++ b/freebsd/sys/fs/nfsclient/nfs_clrpcops.c
@@ -52,6 +52,9 @@ __FBSDID("$FreeBSD$");
 #include <fs/nfs/nfsport.h>
 #include <sys/sysctl.h>
 #include <sys/taskqueue.h>
+#ifdef __rtems__
+#include <rtems/version.h>
+#endif /* __rtems__ */
 
 SYSCTL_DECL(_vfs_nfs);
 
-- 
2.35.3



More information about the devel mailing list