summaryrefslogtreecommitdiffstats
path: root/sys/net/if_enc.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2000-01-25 17:18:59 +0000
committerespie <espie@openbsd.org>2000-01-25 17:18:59 +0000
commitc826b1e3dd603bc2385ab9d11851cdc48a30717f (patch)
tree2963e2ae6c6f92dc14461409fbd978258b9caaf3 /sys/net/if_enc.c
parentcpu_wait(); flush cache in setkpc; explicit bcopy() use in cpu_fork() (diff)
downloadwireguard-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 */
Diffstat (limited to 'sys/net/if_enc.c')
-rw-r--r--sys/net/if_enc.c4
1 files changed, 3 insertions, 1 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>