summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2007-09-19 15:08:30 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2007-09-19 15:08:30 +0000
commitc448585ec7be178206d55fdd19fc85c2b94f5ae7 (patch)
tree3eddd7e22668cc004c4ec0e8ebd3948b100790e0 /sys/kern
parent2b4afe69575848563a1edc448b5eb23acb7be469 (diff)
instead of relying on mbuf.h to include pool.h and declare
mclpool as an extern, do so explicitly ok henning@ claudio@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/uipc_socket2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c
index 8fc53f4bf18..c5b9a9c246e 100644
--- a/sys/kern/uipc_socket2.c
+++ b/sys/kern/uipc_socket2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_socket2.c,v 1.42 2007/02/26 23:53:33 kurt Exp $ */
+/* $OpenBSD: uipc_socket2.c,v 1.43 2007/09/19 15:08:29 blambert Exp $ */
/* $NetBSD: uipc_socket2.c,v 1.11 1996/02/04 02:17:55 christos Exp $ */
/*
@@ -44,6 +44,7 @@
#include <sys/socketvar.h>
#include <sys/signalvar.h>
#include <sys/event.h>
+#include <sys/pool.h>
/*
* Primitive routines for operating on sockets and socket buffers
@@ -57,6 +58,8 @@ const char netlck[] = "netlck";
u_long sb_max = SB_MAX; /* patchable */
+extern struct pool mclpool;
+
/*
* Procedures to manipulate state flags of socket
* and do appropriate wakeups. Normal sequence from the