summary refs log tree commit diff stats
path: root/hw/display
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2025-05-08 16:41:17 +0200
committerThomas Huth <thuth@redhat.com>2025-09-09 09:31:15 +0200
commit180c65c3467f49565ffe26f663a0482717f7d4ea (patch)
treea0e83be830f5efbc37ea471785501127e050910a /hw/display
parent6a9fa5ef3230a7d51e0d953a59ee9ef10af705b8 (diff)
downloadfocaccia-qemu-180c65c3467f49565ffe26f663a0482717f7d4ea.tar.gz
focaccia-qemu-180c65c3467f49565ffe26f663a0482717f7d4ea.zip
hw/display/bcm2835_fb: Move inclusion of console.h to the .c file
The definitions from console.h are not needed in the bcm2835_fb.h
header file yet, so let's move it to the place that really needs
its definitions, i.e. into the bcm2835_fb.c file.
This way the header can also be used by code that is not compiled
with the CFLAGS that are required for pixman or OpenGL (in case
their headers do not reside under /usr/include).

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250508144120.163009-3-thuth@redhat.com>
Diffstat (limited to 'hw/display')
-rw-r--r--hw/display/bcm2835_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/bcm2835_fb.c b/hw/display/bcm2835_fb.c
index 820e67ac8b..1bb2ee45a0 100644
--- a/hw/display/bcm2835_fb.c
+++ b/hw/display/bcm2835_fb.c
@@ -27,6 +27,7 @@
 #include "hw/display/bcm2835_fb.h"
 #include "hw/hw.h"
 #include "hw/irq.h"
+#include "ui/console.h"
 #include "framebuffer.h"
 #include "ui/pixel_ops.h"
 #include "hw/misc/bcm2835_mbox_defs.h"