Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jul 2026 01:26:40 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: bcb471cfb499 - main - sys/systm.h: include sys/limits.h for SSIZE_MAX
Message-ID:  <6a486150.33acc.664eb04b@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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;
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a486150.33acc.664eb04b>