diff options
author | 2007-09-19 15:08:29 +0000 | |
---|---|---|
committer | 2007-09-19 15:08:29 +0000 | |
commit | cf6cf1806ce314bd0628f7b93dceae66d00caac8 (patch) | |
tree | 54d66fc55a260db168ff55f7fb4beafd1f5fe5a6 | |
parent | my -fpic flags support, pullup from pcc (diff) | |
download | wireguard-openbsd-cf6cf1806ce314bd0628f7b93dceae66d00caac8.tar.xz wireguard-openbsd-cf6cf1806ce314bd0628f7b93dceae66d00caac8.zip |
instead of relying on mbuf.h to include pool.h and declare
mclpool as an extern, do so explicitly
ok henning@ claudio@
-rw-r--r-- | sys/kern/uipc_socket2.c | 5 |
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 |