diff options
author | 2000-01-25 17:18:59 +0000 | |
---|---|---|
committer | 2000-01-25 17:18:59 +0000 | |
commit | c826b1e3dd603bc2385ab9d11851cdc48a30717f (patch) | |
tree | 2963e2ae6c6f92dc14461409fbd978258b9caaf3 | |
parent | cpu_wait(); flush cache in setkpc; explicit bcopy() use in cpu_fork() (diff) | |
download | wireguard-openbsd-c826b1e3dd603bc2385ab9d11851cdc48a30717f.tar.xz wireguard-openbsd-c826b1e3dd603bc2385ab9d11851cdc48a30717f.zip |
Ok, so setsoftnet is md.
Well, on the amiga, setsoftnet *REQUIRES* machine/cpu.h to work...
and no include mentioned in those files pulls machine/cpu.h...
Nit-fix: / * INET6 */ -> /* INET6 */
-rw-r--r-- | sys/net/if_enc.c | 4 | ||||
-rw-r--r-- | sys/netinet/ip_gre.c | 4 | ||||
-rw-r--r-- | sys/netinet/ipsec_input.c | 6 |
3 files changed, 10 insertions, 4 deletions
diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c index 28e595a6451..024ff91d674 100644 --- a/sys/net/if_enc.c +++ b/sys/net/if_enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_enc.c,v 1.18 2000/01/15 19:38:09 angelos Exp $ */ +/* $OpenBSD: if_enc.c,v 1.19 2000/01/25 17:18:59 espie Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -46,6 +46,8 @@ #include <sys/ioctl.h> #include <sys/proc.h> +#include <machine/cpu.h> + #include <net/if.h> #include <net/if_types.h> #include <net/netisr.h> diff --git a/sys/netinet/ip_gre.c b/sys/netinet/ip_gre.c index 2c2d14d2c46..ed9bfb0ebc7 100644 --- a/sys/netinet/ip_gre.c +++ b/sys/netinet/ip_gre.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_gre.c,v 1.5 2000/01/16 00:35:43 angelos Exp $ */ +/* $OpenBSD: ip_gre.c,v 1.6 2000/01/25 17:18:59 espie Exp $ */ /* $NetBSD: ip_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */ /* @@ -56,6 +56,8 @@ #include <net/netisr.h> #include <net/route.h> +#include <machine/cpu.h> + #ifdef INET #include <netinet/in.h> #include <netinet/in_var.h> diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c index 50626c6f3ba..0f6c75e0bd8 100644 --- a/sys/netinet/ipsec_input.c +++ b/sys/netinet/ipsec_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec_input.c,v 1.16 2000/01/15 20:03:05 angelos Exp $ */ +/* $OpenBSD: ipsec_input.c,v 1.17 2000/01/25 17:18:59 espie Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -54,6 +54,8 @@ #include <sys/errno.h> #include <sys/kernel.h> +#include <machine/cpu.h> + #include <net/if.h> #include <net/route.h> #include <net/netisr.h> @@ -69,7 +71,7 @@ #ifdef INET6 #include <netinet6/in6.h> #include <netinet6/ip6.h> -#endif/ * INET6 */ +#endif /* INET6 */ #include <netinet/ip_ipsp.h> #include <netinet/ip_esp.h> |