diff options
author | bz <bz@FreeBSD.org> | 2011-06-06 21:45:32 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2011-06-06 21:45:32 +0000 |
commit | 45c14b9c114b5d1172b078f708d3bfe1f36c516f (patch) | |
tree | f9a509e5d4d23aed2c8bebd009734ea7e3b04373 | |
parent | 5f55faed0601b0486b09dd7ec3727f5312e33d5d (diff) | |
download | FreeBSD-src-45c14b9c114b5d1172b078f708d3bfe1f36c516f.zip FreeBSD-src-45c14b9c114b5d1172b078f708d3bfe1f36c516f.tar.gz |
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)
-rw-r--r-- | sys/netinet/in_pcb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index a8524be..dfef963 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -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> |