vhost-user-scsi: add compatibility for libiscsi 1.9.0
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2d7ac0af9d
commit
7af0dbf990
@ -12,7 +12,9 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <iscsi/iscsi.h>
|
||||
#define inline __attribute__((gnu_inline)) /* required for libiscsi v1.9.0 */
|
||||
#include <iscsi/scsi-lowlevel.h>
|
||||
#undef inline
|
||||
#include "contrib/libvhost-user/libvhost-user-glib.h"
|
||||
#include "standard-headers/linux/virtio_scsi.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user