Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2025 21:37:21 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b1e67144058d - main - sys/mount.h: Add missing headers so it's standalone for _WANT_MOUNT
Message-ID:  <202506162137.55GLbL6w072956@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506162137.55GLbL6w072956>