git: d1f7902fda83 - stable/15 - sys/systm.h: include sys/limits.h for SSIZE_MAX

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Mon, 06 Jul 2026 01:06:23 UTC
The branch stable/15 has been updated by kib:

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

commit d1f7902fda830b38c6b0ca701b9e310aa3909228
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-07-04 01:24:00 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-06 01:05:53 +0000

    sys/systm.h: include sys/limits.h for SSIZE_MAX
    
    PR:     296489
    
    (cherry picked from commit bcb471cfb499f61d98abdc7bfd48bee0e229b02b)
---
 sys/sys/systm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index d6488f45acae..13103325595e 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;