summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2010-03-11 00:24:58 +0000
committersthen <sthen@openbsd.org>2010-03-11 00:24:58 +0000
commit0688b82579b19b9ce04f67052979a52a0ee6ffc1 (patch)
tree8c9fef31416fbfc3a47e96dbc9a8fa11a9913aee /sys/netinet/tcp_input.c
parentcorrect certificate logging and make it more consistent between (diff)
downloadwireguard-openbsd-0688b82579b19b9ce04f67052979a52a0ee6ffc1.tar.xz
wireguard-openbsd-0688b82579b19b9ce04f67052979a52a0ee6ffc1.zip
unbreak the build with a custom kernel config including "pseudo-device
faith 1", noticed by Andris Kadar. ok kettenis@ beck@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index bdab2ababdd..13c1ca14942 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.231 2010/01/15 18:20:23 chl Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.232 2010/03/11 00:24:58 sthen Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -96,6 +96,9 @@
#include <netinet/tcp_debug.h>
#include "faith.h"
+#if NFAITH > 0
+#include <net/if_types.h>
+#endif
#include "pf.h"
#if NPF > 0