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:
bz 2011-06-06 21:45:32 +00:00
parent 5f55faed06
commit 45c14b9c11

View File

@ -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>