summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-12-05 10:28:22 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-12-05 10:28:22 +0000
commitcc5c49fe4628c385d40c93a1bdb68995ab1cc9fe (patch)
tree0a6da11e6207bcb5e21584543eee5e5bd9ffb44d /sys/arch/i386
parent32654562be88ff4c9e49b3d12e07f80ad4bae156 (diff)
Include srp.h where struct cpu_info uses srp to avoid erroring out when
including cpu.h machine/intr.h etc without first including param.h when MULTIPROCESSOR is defined. ok visa@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h
index 87dbb4e4667..ce71e371f4d 100644
--- a/sys/arch/i386/include/cpu.h
+++ b/sys/arch/i386/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.165 2018/08/21 06:03:34 jsg Exp $ */
+/* $OpenBSD: cpu.h,v 1.166 2018/12/05 10:28:21 jsg Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
@@ -67,6 +67,7 @@
#include <sys/device.h>
#include <sys/sched.h>
#include <sys/sensors.h>
+#include <sys/srp.h>
struct intrsource;