PCI headers are not necessary and are making this module dependent on the PCI subsystem.
The internal eal_vfio.h header was necessary however for shared build. Signed-off-by: Gaetan Rivet <gaetan.ri...@6wind.com> --- lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c b/lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c index 598df12..a793e9a 100644 --- a/lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c +++ b/lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c @@ -49,14 +49,13 @@ #endif #include <rte_log.h> -#include <rte_pci.h> #include <rte_eal_memconfig.h> #include <rte_malloc.h> #include <rte_vfio.h> #include "eal_filesystem.h" -#include "eal_pci_init.h" #include "eal_thread.h" +#include "eal_vfio.h" /** * @file -- 2.1.4