how to include vnode.h?

From: YU SHANG <yushang_at_outlook.com>
Date: Thu, 19 Oct 2023 03:48:40 UTC
Hi guys,
I am exercising a FreeBSD driver which is started by the official skeleton (https://docs.freebsd.org/en/books/arch-handbook/driverbasics/). When I add an include of #include <sys/vnode.h>, the kld failed to compile, complaining that can not find the vnode_if.h. I know this file is generated by the sys/tools/vnode_if.awk. It seems that this script is not invoked by the build system. Any suggestion? Many thanks.


 Windows ʼ<https://go.microsoft.com/fwlink/?LinkId=550986>