diff options
author | 2000-01-02 09:06:11 +0000 | |
---|---|---|
committer | 2000-01-02 09:06:11 +0000 | |
commit | c446da61b95a5d3ca5b309041eeaea1d922d84f8 (patch) | |
tree | 47b598680834568ae2b141c88b4c4327a4c42092 | |
parent | Remove the ifdef for IP_ENCAPSULATED. (diff) | |
download | wireguard-openbsd-c446da61b95a5d3ca5b309041eeaea1d922d84f8.tar.xz wireguard-openbsd-c446da61b95a5d3ca5b309041eeaea1d922d84f8.zip |
Fix non-IPSEC kernel compilation (or part of it).
-rw-r--r-- | sys/netinet/in_proto.c | 8 |
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[] = { |