"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. > 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. DES -- Dag-Erling Smørgrav - [email protected]
