git: 9af7633c6095 - stable/14 - makefs/zfs: Explicitly include sys/param.h for nitems()

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 14 Jul 2026 14:56:20 UTC
The branch stable/14 has been updated by markj:

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

commit 9af7633c6095c4bb09edc95b63401bad621f469c
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-06-22 20:19:32 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-14 14:08:41 +0000

    makefs/zfs: Explicitly include sys/param.h for nitems()
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 88deb1cff92cb3620c248f32fa6e7bdbc5301213)
---
 usr.sbin/makefs/zfs/dsl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.sbin/makefs/zfs/dsl.c b/usr.sbin/makefs/zfs/dsl.c
index 8a8cee7c82b2..d3870a789a56 100644
--- a/usr.sbin/makefs/zfs/dsl.c
+++ b/usr.sbin/makefs/zfs/dsl.c
@@ -28,6 +28,7 @@
  * SUCH DAMAGE.
  */
 
+#include <sys/param.h>
 #include <assert.h>
 #include <stdlib.h>
 #include <string.h>