Date: Thu, 25 Feb 2021 13:11:54 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253839] sys/buf.h uses bool type that can be undefined since commit 2bfd8992c7c7 Message-ID: <bug-253839-227-AmeN6gtnO2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253839-227@https.bugs.freebsd.org/bugzilla/> References: <bug-253839-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253839 --- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> --- sys/buf.h, or ufs/ufs/inode.h, are internal kernel headers. Userspace has = no business using them. If some usermode code tries to (ab)use the kernel headers, it is up to the = code to provide the expected compilation environment. Also, the FreeBSD traditi= onal policy for kernel headers is to avoid nested includes, which has a reasoning behind it. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253839-227-AmeN6gtnO2>