summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-01-25 17:19:00 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-01-25 17:19:00 +0000
commit29f6fd3ff572f2bb91a298622b5d50fbdf0b4e6d (patch)
tree5e74c6365d94122e8cd91d8b1065dd2fcf70fb38 /sys
parente2b9d4d876fb2e16660eabf73290d69d2fe5ac10 (diff)
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 */
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_enc.c4
-rw-r--r--sys/netinet/ip_gre.c4
-rw-r--r--sys/netinet/ipsec_input.c6
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>