File Revert-meson-build-file-back-to-Make.obj.patch of Package qemu.21548

From: Liang Yan <lyan@suse.com>
Date: Tue, 19 Jan 2021 11:01:26 -0500
Subject: Revert meson build file back to Make.objs

References: bsc#1179719

Related commits: cd7498d07fbb 77280d33bc9c

Signed-off-by: Liang Yan <lyan@suse.com>
---
 hw/s390x/Makefile.objs           | 1 +
 include/hw/s390x/s390-pci-vfio.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/hw/s390x/Makefile.objs b/hw/s390x/Makefile.objs
index a46a1c7894e0f612a2d74cec74f6..37c071d78533bb326d7e25e757e0 100644
--- a/hw/s390x/Makefile.objs
+++ b/hw/s390x/Makefile.objs
@@ -35,3 +35,4 @@ obj-$(CONFIG_KVM) += pv.o
 obj-y += s390-ccw.o
 obj-y += ap-device.o
 obj-y += ap-bridge.o
+obj-$(CONFIG_VFIO) += s390-pci-vfio.o
diff --git a/include/hw/s390x/s390-pci-vfio.h b/include/hw/s390x/s390-pci-vfio.h
index a99499851f048ab04c2c1b45a4a2..55db22a9541812a1e7ba66d5dea3 100644
--- a/include/hw/s390x/s390-pci-vfio.h
+++ b/include/hw/s390x/s390-pci-vfio.h
@@ -13,6 +13,7 @@
 #define HW_S390_PCI_VFIO_H
 
 #include "hw/s390x/s390-pci-bus.h"
+#include  "config-devices.h"
 
 #ifdef CONFIG_VFIO
 bool s390_pci_update_dma_avail(int fd, unsigned int *avail);
openSUSE Build Service is sponsored by