From 0fe20489c712d93031209f70f5f67d3294dd171f Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 30 Jan 2019 10:47:41 +0100 Subject: [PATCH] fix missing include on older systems --- common/include/villas/kernel/vfio.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/include/villas/kernel/vfio.hpp b/common/include/villas/kernel/vfio.hpp index b8bbd5ee8..0079ee8f3 100644 --- a/common/include/villas/kernel/vfio.hpp +++ b/common/include/villas/kernel/vfio.hpp @@ -21,6 +21,10 @@ #define VFIO_PATH "/dev/vfio/" #define VFIO_DEV VFIO_PATH "vfio" +#ifndef VFIO_NOIOMMU_IOMMU + #define VFIO_NOIOMMU_IOMMU 8 +#endif + /* Forward declarations */ struct pci_device;