git: b1e67144058d - main - sys/mount.h: Add missing headers so it's standalone for _WANT_MOUNT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Jun 2025 21:37:21 UTC
The branch main has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=b1e67144058d6c8394272ba81751e041029bd876
commit b1e67144058d6c8394272ba81751e041029bd876
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2025-06-16 21:32:03 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2025-06-16 21:32:03 +0000
sys/mount.h: Add missing headers so it's standalone for _WANT_MOUNT
Reviewed by: imp, kib, markj
Differential Revision: https://reviews.freebsd.org/D50716
---
sys/sys/mount.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index d3ab6d7c9cae..a6f858e02395 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -41,6 +41,10 @@
#include <sys/tslog.h>
#include <sys/_mutex.h>
#include <sys/_sx.h>
+#elif defined(_WANT_MOUNT)
+#include <sys/_lock.h>
+#include <sys/_lockmgr.h>
+#include <sys/_mutex.h>
#endif
/*