File 0207-sm501-add-qemu-log.h-include.patch of Package qemu.20749

From: Bruce Rogers <brogers@suse.com>
Date: Thu, 25 Mar 2021 15:51:38 -0600
Subject: sm501: add qemu/log.h include

References: bsc#1172385, CVE-2020-12829

This is in place of commit 4a1f253adb which added the log.h
reference, but did other changes we're not interested in.

Signed-off-by: Bruce Rogers <brogers@suse.com>
---
 hw/display/sm501.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/display/sm501.c b/hw/display/sm501.c
index 79f25936fdd5e5a548ffbd54ed60..b8b9244cc61e660b7e0576050077 100644
--- a/hw/display/sm501.c
+++ b/hw/display/sm501.c
@@ -25,6 +25,7 @@
 
 #include "qemu/osdep.h"
 #include "qemu/cutils.h"
+#include "qemu/log.h"
 #include "qapi/error.h"
 #include "qemu-common.h"
 #include "cpu.h"
openSUSE Build Service is sponsored by