The file sys/io.h was included but it can be unavailable in some non-x86 toolchains. As others system includes in the file nfp_net.c, it seems useless, so the easy fix is to remove them.
Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com> --- drivers/net/nfp/nfp_net.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index bc2089f..283269e 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -39,18 +39,7 @@ * Netronome vNIC DPDK Poll-Mode Driver: Main entry point */ -#include <stdio.h> -#include <stdlib.h> -#include <stdint.h> -#include <unistd.h> -#include <string.h> -#include <sys/mman.h> -#include <sys/socket.h> -#include <sys/io.h> -#include <assert.h> -#include <time.h> #include <math.h> -#include <inttypes.h> #include <rte_byteorder.h> #include <rte_common.h> -- 2.7.0