From 45c14b9c114b5d1172b078f708d3bfe1f36c516f Mon Sep 17 00:00:00 2001 From: bz Date: Mon, 6 Jun 2011 21:45:32 +0000 Subject: [PATCH] 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) --- sys/netinet/in_pcb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index a8524bed8747..dfef96348efe 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -44,6 +44,7 @@ #include #ifdef _KERNEL +#include #include #include #include