From 5feed38c2139a2cea46b4b540303ef255d4cafc7 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Fri, 10 Feb 2023 12:19:31 +0100 Subject: Do not include "qemu/error-report.h" in headers that do not need it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include it in the .c files instead that use the error reporting functions. Message-Id: <20230210111931.1115489-1-thuth@redhat.com> Reviewed-by: Markus Armbruster Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth --- hw/misc/applesmc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/misc') diff --git a/hw/misc/applesmc.c b/hw/misc/applesmc.c index 5f9c742..72300d0 100644 --- a/hw/misc/applesmc.c +++ b/hw/misc/applesmc.c @@ -34,6 +34,7 @@ #include "hw/isa/isa.h" #include "hw/qdev-properties.h" #include "ui/console.h" +#include "qemu/error-report.h" #include "qemu/module.h" #include "qemu/timer.h" #include "qom/object.h" -- cgit v1.1