summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-27 19:33:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-27 19:33:21 +0000
commitb02793a66d59a09ccb325eec0045a184fa9f1f5b (patch)
tree9faaacbaabf3abc3cf43e90609e9b58e367a1699 /sys/net/rtsock.c
parent2bfa540232f49980a32059cd33a3ec09b1407b6a (diff)
repair builds. ramdisk kernels forgotten about again.
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 8a6f5b18b6f..f08605709b0 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsock.c,v 1.49 2005/11/27 16:22:45 henning Exp $ */
+/* $OpenBSD: rtsock.c,v 1.50 2005/11/27 19:33:20 deraadt Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
@@ -165,7 +165,9 @@ route_output(struct mbuf *m, ...)
struct radix_node *rn = NULL;
struct rtentry *rt = NULL;
struct rtentry *saved_nrt = NULL;
+#ifndef SMALL_KERNEL
struct radix_node_head *rnh;
+#endif
struct rt_addrinfo info;
int len, error = 0;
struct ifnet *ifp = NULL;