summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2019-12-31 01:38:33 +0000
committerjsg <jsg@openbsd.org>2019-12-31 01:38:33 +0000
commitec849c8a99fed7d2b8e61f4fe6fffaac100384ca (patch)
treee98002f5eba5a7f4deaa67612b089871417b370e
parentinclude sys/sensors.h for sensor use (diff)
downloadwireguard-openbsd-ec849c8a99fed7d2b8e61f4fe6fffaac100384ca.tar.xz
wireguard-openbsd-ec849c8a99fed7d2b8e61f4fe6fffaac100384ca.zip
include sys/sensors.h for sensor use
don't depend on indirect inclusion from acpidev.h
-rw-r--r--sys/dev/acpi/acpi.c3
-rw-r--r--sys/dev/acpi/acpithinkpad.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index 939e1608f13..adcf9d3126c 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.374 2019/09/07 13:46:20 kettenis Exp $ */
+/* $OpenBSD: acpi.c,v 1.375 2019/12/31 01:38:33 jsg Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -32,6 +32,7 @@
#include <sys/sysctl.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
+#include <sys/sensors.h>
#ifdef HIBERNATE
#include <sys/hibernate.h>
diff --git a/sys/dev/acpi/acpithinkpad.c b/sys/dev/acpi/acpithinkpad.c
index 9c04149f006..9c311dac5bf 100644
--- a/sys/dev/acpi/acpithinkpad.c
+++ b/sys/dev/acpi/acpithinkpad.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpithinkpad.c,v 1.67 2019/10/21 16:45:48 jcs Exp $ */
+/* $OpenBSD: acpithinkpad.c,v 1.68 2019/12/31 01:38:33 jsg Exp $ */
/*
* Copyright (c) 2008 joshua stein <jcs@openbsd.org>
*
@@ -17,6 +17,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/sensors.h>
#include <dev/acpi/acpireg.h>
#include <dev/acpi/acpivar.h>