From 321dbed5f5a857a23525167ab85d4d7699429132 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 15 May 2006 18:27:18 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20#5209:=20Fix=20APM/ACPI=20support,=20agai?= =?UTF-8?q?n.=20(Michel=20D=C3=A4nzer,=20Valery=20Inozemtsev)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog | 7 +++++++ configure.ac | 2 +- hw/xfree86/os-support/linux/lnx_acpi.c | 4 ++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index caa6c4383..718384f8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-05-15 Adam Jackson + + * configure.ac: + * hw/xfree86/os-support/linux/lnx_acpi.c: + Bug #5209: Fix APM/ACPI support, again. (Michel Dänzer, Valery + Inozemtsev) + 2006-05-14 Matthieu Herrb * configure.ac: diff --git a/configure.ac b/configure.ac index 306b41f20..40d61bb47 100644 --- a/configure.ac +++ b/configure.ac @@ -1064,7 +1064,7 @@ if test "x$XORG" = xyes -o "x$XGL" = xyes; then XORG_OS_PCI="axp" xorg_bus_linuxpci="no" ;; - x86*) + i*86|amd64*|x86_64*) linux_acpi="yes" ;; *) diff --git a/hw/xfree86/os-support/linux/lnx_acpi.c b/hw/xfree86/os-support/linux/lnx_acpi.c index 3d048c750..0c69ea172 100644 --- a/hw/xfree86/os-support/linux/lnx_acpi.c +++ b/hw/xfree86/os-support/linux/lnx_acpi.c @@ -1,3 +1,7 @@ +#ifdef HAVE_XORG_CONFIG_H +#include "xorg-config.h" +#endif + #include "os.h" #include "xf86.h" #include "xf86Priv.h"