]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/display/sm501: fix missing error-report.h
authorClément Chigot <chigot@adacore.com>
Mon, 28 Jul 2025 09:05:18 +0000 (11:05 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 29 Jul 2025 11:56:39 +0000 (13:56 +0200)
"qemu/error-report.h" was previously implicitly included. This is no
longer the case following 012842c075520dbe1bd96a2fdcf4e218874ba443.

However, the issue predates this change as `error-report.h` should have
been included when the `warn_report` call was introduced.

Fixes: fa140b9562 ("hw/sm501: allow compiling without PIXMAN")
Signed-off-by: Clément Chigot <chigot@adacore.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20250728090518.963573-1-chigot@adacore.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/display/sm501.c

index 6d2f18684c366cd96cb0b54c8c39e68fc23e7e30..bc091b3c9fb1eae01f8c81cf3003d8b86107a74c 100644 (file)
@@ -26,6 +26,7 @@
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
 #include "hw/usb/hcd-ohci.h"