diff options
author | 2012-03-29 06:58:10 +0000 | |
---|---|---|
committer | 2012-03-29 06:58:10 +0000 | |
commit | d4af8047a56861e378bf6f089c6926bd96de8992 (patch) | |
tree | 2c832a212ac762c867d8b215dc16c84fd7621a69 | |
parent | Prevent hibernation attempts on machines with unsupported disk controllers. (diff) | |
download | wireguard-openbsd-d4af8047a56861e378bf6f089c6926bd96de8992.tar.xz wireguard-openbsd-d4af8047a56861e378bf6f089c6926bd96de8992.zip |
Missing #ifdef in previous diff
-rw-r--r-- | sys/dev/acpi/acpi.c | 5 |
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> |