diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-12-31 01:38:34 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-12-31 01:38:34 +0000 |
commit | 6716328d3f8e7e5092b5ad41628a56775d32e1be (patch) | |
tree | 3012ec739667ae4f35c9e0de863e74ab04055eae /sys | |
parent | d2cc2564b54e445bc221faaedc9690685d9552c4 (diff) |
include sys/sensors.h for sensor use
don't depend on indirect inclusion from acpidev.h
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/acpi.c | 3 | ||||
-rw-r--r-- | sys/dev/acpi/acpithinkpad.c | 3 |
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> |