Replace use of system sys/queue.h with DPDK rte_bsd_queue.h Signed-off-by: Stephen Hemminger <step...@networkplumber.org> --- drivers/net/thunderx/base/nicvf_bsvf.h | 2 +- drivers/net/thunderx/base/nicvf_plat.h | 1 + drivers/net/thunderx/nicvf_ethdev.c | 1 - 3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/thunderx/base/nicvf_bsvf.h b/drivers/net/thunderx/base/nicvf_bsvf.h index 4c7615ca99..74019818e3 100644 --- a/drivers/net/thunderx/base/nicvf_bsvf.h +++ b/drivers/net/thunderx/base/nicvf_bsvf.h @@ -5,7 +5,7 @@ #ifndef __THUNDERX_NICVF_BSVF_H__ #define __THUNDERX_NICVF_BSVF_H__ -#include <sys/queue.h> +#include <rte_bsd_queue.h> struct nicvf; diff --git a/drivers/net/thunderx/base/nicvf_plat.h b/drivers/net/thunderx/base/nicvf_plat.h index 8421f57040..ccc6aef0fc 100644 --- a/drivers/net/thunderx/base/nicvf_plat.h +++ b/drivers/net/thunderx/base/nicvf_plat.h @@ -6,6 +6,7 @@ #define _THUNDERX_NICVF_H /* Platform/OS/arch specific abstractions */ +#include <rte_bsd_queue.h> /* log */ #include <rte_log.h> diff --git a/drivers/net/thunderx/nicvf_ethdev.c b/drivers/net/thunderx/nicvf_ethdev.c index 4441a90bdf..c7b6252cd6 100644 --- a/drivers/net/thunderx/nicvf_ethdev.c +++ b/drivers/net/thunderx/nicvf_ethdev.c @@ -12,7 +12,6 @@ #include <stdarg.h> #include <inttypes.h> #include <netinet/in.h> -#include <sys/queue.h> #include <rte_alarm.h> #include <rte_branch_prediction.h> -- 2.47.2