git: bcb471cfb499 - main - sys/systm.h: include sys/limits.h for SSIZE_MAX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Jul 2026 01:26:40 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=bcb471cfb499f61d98abdc7bfd48bee0e229b02b
commit bcb471cfb499f61d98abdc7bfd48bee0e229b02b
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-07-04 01:24:00 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-04 01:26:23 +0000
sys/systm.h: include sys/limits.h for SSIZE_MAX
This makes the header more self-contained.
The symbol is needed only on 32bit arches, but the include file is
provided unconditionally to make the namespace population predictable.
PR: 296489
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
sys/sys/systm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index f7814949ac86..02a075dcd5ed 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -98,6 +98,7 @@ struct ucred;
#include <sys/param.h> /* MAXCPU */
#include <sys/pcpu.h> /* curthread */
#include <sys/kpilite.h>
+#include <sys/limits.h>
extern bool scheduler_stopped;