net/mlx5: use port sibling iterators
[dpdk.git] / examples / vhost_scsi / meson.build
index 5f92370..ca12480 100644 (file)
@@ -9,8 +9,13 @@
 if host_machine.system() != 'linux'
        build = false
 endif
+
+if not cc.has_header('virtio_scsi.h')
+       build = false
+endif
+
 deps += 'vhost'
-cflags += ['-D_GNU_SOURCE','-D_FILE_OFFSET_BITS=64']
+cflags += ['-D_FILE_OFFSET_BITS=64']
 sources = files(
        'scsi.c', 'vhost_scsi.c'
 )