Header change in if_var.h breaks applications
Commit 1afbcbacb38bccc3bac01ae24420658b4b8346c7 has added this line:
#if defined(_KERNEL) || defined(_KERNEL_STRUCTURES)
in sys/net/if_var.h to protect the definition of struct ifnet.
Some third-party applications depend on struct ifnet beeing defined without using
_KERNEL or _KERNEL_STRUCTURES. They built fine on DragonFly 2.10 but are now
broken on -master.
net/wminet in pkgsrc can be used as an example.