summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2004-04-15 12:05:34 +0000
committergrange <grange@openbsd.org>2004-04-15 12:05:34 +0000
commit9814874f99b537e11c17dc95aedab01eeee388e4 (patch)
treeb62a63afac9d224361c4e22379a2f1cdf12b5c4a
parentmore AUTHORS update; (diff)
downloadwireguard-openbsd-9814874f99b537e11c17dc95aedab01eeee388e4.tar.xz
wireguard-openbsd-9814874f99b537e11c17dc95aedab01eeee388e4.zip
Unbreak INET6less kernels.
ok markus
-rw-r--r--sys/netinet/tcp_input.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index eb9c12cd129..0aeec8e2dd0 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.162 2004/04/15 02:59:22 itojun Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.163 2004/04/15 12:05:34 grange Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -95,11 +95,12 @@
#include <netinet/tcpip.h>
#include <netinet/tcp_debug.h>
+struct tcpiphdr tcp_saveti;
+
#ifdef INET6
#include <netinet6/in6_var.h>
#include <netinet6/nd6.h>
-struct tcpiphdr tcp_saveti;
struct tcpipv6hdr tcp_saveti6;
/* for the packet header length in the mbuf */