Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2026 14:56:20 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9af7633c6095 - stable/14 - makefs/zfs: Explicitly include sys/param.h for nitems()
Message-ID:  <6a564e14.3ee92.48755af7@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a564e14.3ee92.48755af7>