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:
Bjoern A. Zeeb 2011-06-06 21:45:32 +00:00
parent 9eb0d7025d
commit 1417604e70

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>