summaryrefslogtreecommitdiff
path: root/sys/netinet/in_proto.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-02 09:06:12 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-02 09:06:12 +0000
commitb3c0099f5db6ae869d9c2d0c907eba262a115f8f (patch)
treeb40ddebd27b7bad9a44f27d317e5a03cff6de188 /sys/netinet/in_proto.c
parent9832a0c679ea962a40c6efb5aebc92cac8188c4d (diff)
Fix non-IPSEC kernel compilation (or part of it).
Diffstat (limited to 'sys/netinet/in_proto.c')
-rw-r--r--sys/netinet/in_proto.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c
index 1e2c4ff0aa4..3b8505f2dc3 100644
--- a/sys/netinet/in_proto.c
+++ b/sys/netinet/in_proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_proto.c,v 1.19 1999/12/21 11:11:16 itojun Exp $ */
+/* $OpenBSD: in_proto.c,v 1.20 2000/01/02 09:06:11 angelos Exp $ */
/* $NetBSD: in_proto.c,v 1.14 1996/02/18 18:58:32 christos Exp $ */
/*
@@ -149,9 +149,6 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>.
#ifdef MROUTING
#include <netinet/ip_mroute.h>
-#ifndef IPSEC
-#include <netinet/ip_ip4.h>
-#endif
#endif /* MROUTING */
#ifdef IPFILTER
@@ -167,10 +164,11 @@ void iplinit __P((void));
#include <netinet/ip_ipsp.h>
#include <netinet/ip_ah.h>
#include <netinet/ip_esp.h>
-#include <netinet/ip_ip4.h>
#include <netinet/ip_ether.h>
#endif
+#include <netinet/ip_ip4.h>
+
extern struct domain inetdomain;
struct protosw inetsw[] = {