Replace use of system sys/queue.h with DPDK rte_bsd_queue.h Signed-off-by: Stephen Hemminger <step...@networkplumber.org> --- drivers/net/mlx4/mlx4.h | 1 - drivers/net/mlx4/mlx4_flow.c | 2 +- drivers/net/mlx4/mlx4_flow.h | 1 - drivers/net/mlx4/mlx4_mr.h | 1 - drivers/net/mlx4/mlx4_rxtx.h | 1 - 5 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/net/mlx4/mlx4.h b/drivers/net/mlx4/mlx4.h index c992a1c5ea..67768f3e56 100644 --- a/drivers/net/mlx4/mlx4.h +++ b/drivers/net/mlx4/mlx4.h @@ -8,7 +8,6 @@ #include <net/if.h> #include <stdint.h> -#include <sys/queue.h> /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC diff --git a/drivers/net/mlx4/mlx4_flow.c b/drivers/net/mlx4/mlx4_flow.c index b520664d95..44181c0aa3 100644 --- a/drivers/net/mlx4/mlx4_flow.c +++ b/drivers/net/mlx4/mlx4_flow.c @@ -14,7 +14,7 @@ #include <stddef.h> #include <stdint.h> #include <string.h> -#include <sys/queue.h> +#include <rte_bsd_queue.h> /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC diff --git a/drivers/net/mlx4/mlx4_flow.h b/drivers/net/mlx4/mlx4_flow.h index 5e82df6bd6..a27317432d 100644 --- a/drivers/net/mlx4/mlx4_flow.h +++ b/drivers/net/mlx4/mlx4_flow.h @@ -7,7 +7,6 @@ #define RTE_PMD_MLX4_FLOW_H_ #include <stdint.h> -#include <sys/queue.h> /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC diff --git a/drivers/net/mlx4/mlx4_mr.h b/drivers/net/mlx4/mlx4_mr.h index 56dd73ff19..7fef07d6f9 100644 --- a/drivers/net/mlx4/mlx4_mr.h +++ b/drivers/net/mlx4/mlx4_mr.h @@ -8,7 +8,6 @@ #include <stddef.h> #include <stdint.h> -#include <sys/queue.h> /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC diff --git a/drivers/net/mlx4/mlx4_rxtx.h b/drivers/net/mlx4/mlx4_rxtx.h index 70f3cd8680..c68375b088 100644 --- a/drivers/net/mlx4/mlx4_rxtx.h +++ b/drivers/net/mlx4/mlx4_rxtx.h @@ -7,7 +7,6 @@ #define MLX4_RXTX_H_ #include <stdint.h> -#include <sys/queue.h> /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC -- 2.47.2