When using libvduse library in an external project it would be good if it can cope with various different compiler settings, this fixes two obvious ones similar to the patches for libvhost-user.
It also contains a 3rd one, that is marked as RFC since I have no idea what is correct here. From the structures point of view the assignment that is done makes no sense to me. I might have to dig into specification to figure it out or it better be commented accordingly to tell the compiler that it got this part wrong. Marcel Holtmann (3): libvduse: Provide _GNU_SOURCE when compiling outside of QEMU libvduse: Switch to unsigned int for inuse field in struct VduseVirtq libvduse: Fix assignment in vring_set_avail_event subprojects/libvduse/libvduse.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) -- 2.38.1