[Bug 253839] sys/buf.h uses bool type that can be undefined since commit 2bfd8992c7c7
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 25 13:11:54 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253839
--- Comment #1 from Konstantin Belousov <kib at 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 traditional
policy for kernel headers is to avoid nested includes, which has a reasoning
behind it.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list