File ioemu-devicemodel-include.patch of Package xen.openSUSE_Leap_42.3_Update

Index: xen-4.9.0-testing/tools/qemu-xen-traditional-dir-remote/xen-hooks.mak
===================================================================
--- xen-4.9.0-testing.orig/tools/qemu-xen-traditional-dir-remote/xen-hooks.mak
+++ xen-4.9.0-testing/tools/qemu-xen-traditional-dir-remote/xen-hooks.mak
@@ -6,6 +6,7 @@ CPPFLAGS+= -DXC_WANT_COMPAT_DEVICEMODEL_
 CPPFLAGS+= -I$(XEN_ROOT)/tools/libxc
 CPPFLAGS+= -I$(XEN_ROOT)/tools/libs/call/include
 CPPFLAGS+= -I$(XEN_ROOT)/tools/libs/foreignmemory/include
+CPPFLAGS+= -I$(XEN_ROOT)/tools/libs/devicemodel/include
 CPPFLAGS+= -I$(XEN_ROOT)/tools/libxc/include
 CPPFLAGS+= -I$(XEN_ROOT)/tools/xenstore/include
 CPPFLAGS+= -I$(XEN_ROOT)/tools/include
Index: xen-4.9.0-testing/extras/mini-os-remote/include/linux/types.h
===================================================================
--- xen-4.9.0-testing.orig/extras/mini-os-remote/include/linux/types.h
+++ xen-4.9.0-testing/extras/mini-os-remote/include/linux/types.h
@@ -2,4 +2,5 @@
 #define _LINUX_TYPES_H_
 #include <mini-os/types.h>
 typedef uint64_t __u64;
+typedef uint16_t __u16;
 #endif /* _LINUX_TYPES_H_ */
openSUSE Build Service is sponsored by