On Mon, Jan 26, 2026, at 11:37 AM, Dag-Erling Smørgrav wrote: > "Drew Gallatin" <[email protected]> writes: > > In file included from /usr/src/sys/kern/subr_devstat.c:47: > > In file included from /usr/src/sys/compat/freebsd32/freebsd32.h:38: > > /usr/src/sys/sys/user.h:692:16: error: field has incomplete type 'struct > > kevent' > > 692 | struct kevent knt_event; > > | ^ > > /usr/src/sys/sys/user.h:692:9: note: forward declaration of 'struct kevent' > > 692 | struct kevent knt_event; > > This is a preexisting bug in <sys/compat/freebsd32/freebsd32.h> which > needs to include <sys/event.h> but doesn't. It is hidden from most > users by header pollution from the VIMAGE option.
Thanks for the quick fix. I'm an oddball b/c I cannot stand VIMAGE (makes network stuff incredibly frustrating to debug and adds overhead). > > include GENERIC-NODEBUG > > [...] > > nooptions INVARIANTS > > nooptions INVARIANT_SUPPORT > > nooptions WITNESS > > nooptions WITNESS_SKIPSPIN > > nooptions BUF_TRACKING > > nooptions DEADLKRES > > nooptions FULL_BUF_TRACKING > > nooptions COVERAGE > > nooptions KCOV > > These lines are already included in GENERIC-NODEBUG. Indeed.. Thanks again, Drew
