examples/vhost_blk: fix build with gcc 10
[dpdk.git] / examples / vhost_blk / vhost_blk.c
index 74c82a9..b757c92 100644 (file)
@@ -31,6 +31,8 @@
                            (1ULL << VIRTIO_F_NOTIFY_ON_EMPTY) | \
                            (1ULL << VHOST_USER_F_PROTOCOL_FEATURES))
 
+struct vhost_blk_ctrlr *g_vhost_ctrlr;
+
 /* Path to folder where character device will be created. Can be set by user. */
 static char dev_pathname[PATH_MAX] = "";
 static sem_t exit_sem;