Unbreak kernels with non-default PCBGROUP included but no WITNESS.
Rather than including lock.h in in_pcbgroup.c in right order, fix it for all consumers of in_pcb.h by further header file pollution under #ifdef KERNEL. Reported by: Pan Tsu (inyaoo gmail.com)
This commit is contained in:
parent
5f55faed06
commit
45c14b9c11
@ -44,6 +44,7 @@
|
||||
#include <sys/_rwlock.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
#include <sys/lock.h>
|
||||
#include <sys/rwlock.h>
|
||||
#include <net/vnet.h>
|
||||
#include <vm/uma.h>
|
||||
|
Loading…
Reference in New Issue
Block a user