git: fab4acbb7db8 - main - vmem: Include param.h in the userspace port as well

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 12 May 2026 20:05:59 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=fab4acbb7db8ffc7082d1b60b3c8e446a7cfef90

commit fab4acbb7db8ffc7082d1b60b3c8e446a7cfef90
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-05-12 17:46:24 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-12 20:05:18 +0000

    vmem: Include param.h in the userspace port as well
    
    It is required at least for NBBY.
    
    MFC after:      1 week
---
 sys/kern/subr_vmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/subr_vmem.c b/sys/kern/subr_vmem.c
index 8b834a2e2a79..0ea8c9e41568 100644
--- a/sys/kern/subr_vmem.c
+++ b/sys/kern/subr_vmem.c
@@ -80,7 +80,7 @@
 
 #else	/* _KERNEL */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/queue.h>
 #include <sys/hash.h>
 #include <sys/vmem.h>