git: b365fc1ad2cc - stable/15 - makefs/zfs: Explicitly include sys/param.h for nitems()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Jul 2026 18:09:55 UTC
The branch stable/15 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=b365fc1ad2cc35c037e7b409e713374dce94f7ef
commit b365fc1ad2cc35c037e7b409e713374dce94f7ef
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-06-22 20:19:32 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-08 18:09:35 +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 1977521d7f92..7a634272b7d4 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>