aboutsummaryrefslogtreecommitdiff
path: root/hw/display/cg3.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-05-26 08:22:39 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-05-28 11:38:57 +0200
commitedcbea008d7943633911c2d385fd0c94bb84403c (patch)
tree5efc8a6fe0b4c11438163f4c17a8b0de10c278fa /hw/display/cg3.c
parent06539ebc76b8625587aa78d646a9d8d5fddf84f3 (diff)
downloadqemu-edcbea008d7943633911c2d385fd0c94bb84403c.zip
qemu-edcbea008d7943633911c2d385fd0c94bb84403c.tar.gz
qemu-edcbea008d7943633911c2d385fd0c94bb84403c.tar.bz2
hw/display/edid: Add missing 'qdev-properties.h' header
When trying to consume the DEFINE_EDID_PROPERTIES() macro by including "hw/display/edid.h", we get this build failure: include/hw/display/edid.h:24:5: error: implicit declaration of function ‘DEFINE_PROP_UINT32’ [-Werror=implicit-function-declaration] 24 | DEFINE_PROP_UINT32("xres", _state, _edid_info.prefx, 0), \ | ^~~~~~~~~~~~~~~~~~ Headers should be self-contained, and one shouldn't have to dig to find the missing headers. In this case "hw/qdev-properties.h" is missing. Add it. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20200526062252.19852-2-f4bug@amsat.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/cg3.c')
0 files changed, 0 insertions, 0 deletions