summaryrefslogtreecommitdiff
path: root/examples/vhost_scsi
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-04-08 10:46:36 +0100
committerThomas Monjalon <thomas@monjalon.net>2019-04-23 00:15:10 +0200
commitf38020697976ad9b6baef5d45e393ed1db827083 (patch)
treefa22e4a4f30b8be6c7d766aca082638598d0475b /examples/vhost_scsi
parent70b2c7f12c2fbc32ca0f7784c69e52717483ea1b (diff)
downloaddpdk-f38020697976ad9b6baef5d45e393ed1db827083.zip
dpdk-f38020697976ad9b6baef5d45e393ed1db827083.tar.gz
dpdk-f38020697976ad9b6baef5d45e393ed1db827083.tar.xz
examples/vhost_scsi: fix header check for meson build
The header check for the example app was looking for virtio_scsi.h without the "linux/" prefix, which meant it was never getting found when it should have been. Fixes: 8d47a753b7cb ("examples/vhost_scsi: disable build if missing dependency") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
Diffstat (limited to 'examples/vhost_scsi')
-rw-r--r--examples/vhost_scsi/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vhost_scsi/meson.build b/examples/vhost_scsi/meson.build
index 2e9339a..2972e4d 100644
--- a/examples/vhost_scsi/meson.build
+++ b/examples/vhost_scsi/meson.build
@@ -10,7 +10,7 @@ if not is_linux
build = false
endif
-if not cc.has_header('virtio_scsi.h')
+if not cc.has_header('linux/virtio_scsi.h')
build = false
endif