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
9eb0d7025d
commit
1417604e70
@ -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