aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-07-04 01:24:00 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-07-04 01:26:23 +0000
commitbcb471cfb499f61d98abdc7bfd48bee0e229b02b (patch)
treee611310ba5d14086c5daff0fb2ef59e9b2fa0ad1
parent830f690eb676ab1223bfc887a8d70691a355a656 (diff)
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
-rw-r--r--sys/sys/systm.h1
1 files changed, 1 insertions, 0 deletions
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;