summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-18 15:13:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-18 15:13:34 +0000
commite19f24250fcf8642b28a0804faf0811fc7268389 (patch)
tree327ef113abd4e067b0e17c5271836629ec830820
parenta99dca6ec304b6a9e83fee9cfbae66b392291e58 (diff)
permit compilation of non-V6 kernels
-rw-r--r--sys/netinet/tcp_usrreq.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 5b334d36cd4..7bd8b4c6240 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_usrreq.c,v 1.42 2000/06/18 04:42:43 beck Exp $ */
+/* $OpenBSD: tcp_usrreq.c,v 1.43 2000/06/18 15:13:33 deraadt Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
/*
@@ -62,6 +62,7 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>.
#include <sys/ucred.h>
#include <vm/vm.h>
#include <sys/sysctl.h>
+#include <sys/domain.h>
#include <net/if.h>
#include <net/route.h>
@@ -85,10 +86,6 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>.
extern int check_ipsec_policy __P((struct inpcb *, u_int32_t));
#endif
-#ifdef INET6
-#include <sys/domain.h>
-#endif /* INET6 */
-
/*
* TCP protocol interface to socket abstraction.
*/