In R365734, the typedef bool is defined only if _KERNEL is defined.
In sysdeps/freebsd/procmap.c of this port, sys/param.h is first
included without _KERNEL defined, and later defined _KERNEL and then
includes ufs/ufs/inode.h, which includes sys/buf.h, however, in
sys/buf.h, bool inmem(..) is defined when _KERNEL is defined, this
causes the port failed to build as type bool cannot be found.
The current workaround will be simply defer the including of
ufs/ufs/inode.h and manually expand the VTOI macro