aboutsummaryrefslogtreecommitdiff
path: root/hw/misc
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-02-10 12:19:31 +0100
committerThomas Huth <thuth@redhat.com>2023-02-14 09:11:27 +0100
commit5feed38c2139a2cea46b4b540303ef255d4cafc7 (patch)
tree9a0c52c13fa26ef1d618a18c6e04217d41d00a98 /hw/misc
parent8c6631e66e323bc92e0ea5d235e7059b30fb86ee (diff)
downloadqemu-5feed38c2139a2cea46b4b540303ef255d4cafc7.zip
qemu-5feed38c2139a2cea46b4b540303ef255d4cafc7.tar.gz
qemu-5feed38c2139a2cea46b4b540303ef255d4cafc7.tar.bz2
Do not include "qemu/error-report.h" in headers that do not need it
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 <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/misc')
-rw-r--r--hw/misc/applesmc.c1
1 files changed, 1 insertions, 0 deletions
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"