diff --git a/drivers/virtualization/virt_ivshmem.h b/drivers/virtualization/virt_ivshmem.h index aa55ac7bc92..3d25afad25a 100644 --- a/drivers/virtualization/virt_ivshmem.h +++ b/drivers/virtualization/virt_ivshmem.h @@ -8,7 +8,10 @@ #define ZEPHYR_DRIVERS_VIRTUALIZATION_VIRT_IVSHMEM_H_ #include + +#ifdef CONFIG_IVSHMEM_DOORBELL #include +#endif #define IVSHMEM_PCIE_REG_BAR_IDX 0 #define IVSHMEM_PCIE_SHMEM_BAR_IDX 2