File 0364-sm501-add-qemu-log.h-include.patch of Package qemu.19799

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 3237ebcf7c14641213249488c46f..f46abebf4bdb8e08e9fe9737acb3 100644
--- a/hw/display/sm501.c
+++ b/hw/display/sm501.c
@@ -24,6 +24,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/log.h"
 #include "qapi/error.h"
 #include "qemu-common.h"
 #include "cpu.h"
openSUSE Build Service is sponsored by