diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 74491c6e069e..01ec2b602dde 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -99,8 +99,10 @@ TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */ TAILQ_HEAD(ifmultihead, ifmultiaddr); TAILQ_HEAD(ifgrouphead, ifg_group); +#ifdef _KERNEL VNET_DECLARE(struct pfil_head, link_pfil_hook); /* packet filter hooks */ #define V_link_pfil_hook VNET(link_pfil_hook) +#endif /* _KERNEL */ /* * Structure defining a queue for a network interface.