summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2012-03-29 06:58:11 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2012-03-29 06:58:11 +0000
commit15d2046c3a68bb38fd9fb52751ed9e3bf3e0c78d (patch)
tree96c808309750b28da5e2ececa48dea1cd7267d5d /sys/dev/acpi
parent6f6fa882d157fe614488c64e49b56e9f526eebc2 (diff)
Missing #ifdef in previous diff
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index d471cf387f6..119e1ddddc0 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.231 2012/03/29 06:57:02 mlarkin Exp $ */
+/* $OpenBSD: acpi.c,v 1.232 2012/03/29 06:58:10 mlarkin Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -30,7 +30,10 @@
#include <sys/workq.h>
#include <sys/sched.h>
#include <sys/reboot.h>
+
+#ifdef HIBERNATE
#include <sys/hibernate.h>
+#endif
#include <machine/conf.h>
#include <machine/cpufunc.h>