summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2019-12-31 00:16:03 +0000
committerjsg <jsg@openbsd.org>2019-12-31 00:16:03 +0000
commitfb7d00e25fffb54846be85fd052e918518ee3535 (patch)
treecffab6a26a2220a52d1c083482ecf519d8f57fba
parentneeds sys/sensor.h to standalone from whether machine/cpu.h pulls the (diff)
downloadwireguard-openbsd-fb7d00e25fffb54846be85fd052e918518ee3535.tar.xz
wireguard-openbsd-fb7d00e25fffb54846be85fd052e918518ee3535.zip
include sys/sensors.h for sensor use in cacvar.h
-rw-r--r--sys/dev/pci/cac_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/cac_pci.c b/sys/dev/pci/cac_pci.c
index b0db83ed21e..d413d3bac31 100644
--- a/sys/dev/pci/cac_pci.c
+++ b/sys/dev/pci/cac_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cac_pci.c,v 1.15 2014/12/19 22:44:58 guenther Exp $ */
+/* $OpenBSD: cac_pci.c,v 1.16 2019/12/31 00:16:03 jsg Exp $ */
/* $NetBSD: cac_pci.c,v 1.10 2001/01/10 16:48:04 ad Exp $ */
/*-
@@ -40,6 +40,7 @@
#include <sys/device.h>
#include <sys/queue.h>
#include <sys/endian.h>
+#include <sys/sensors.h>
#include <machine/bus.h>