From: Tal Shnaiderman <tal...@nvidia.com> This commit replaces included file mlx5_glue.h with file mlx5_prm.h in file mlx5_common_mp.h. The new inclusion defines 'enum ibv_wq_state' which is used in file mlx5_common_mp.h and causes Windows compilation warnings if not declared in advance.
Fixes: 9d60f54569fd ("common/mlx5: remove inclusion of Verbs header files") Cc: sta...@dpdk.org Signed-off-by: Tal Shnaiderman <tal...@nvidia.com> --- drivers/common/mlx5/mlx5_common_mp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/mlx5/mlx5_common_mp.h b/drivers/common/mlx5/mlx5_common_mp.h index 6829141..dc6563c 100644 --- a/drivers/common/mlx5/mlx5_common_mp.h +++ b/drivers/common/mlx5/mlx5_common_mp.h @@ -6,7 +6,7 @@ #ifndef RTE_PMD_MLX5_COMMON_MP_H_ #define RTE_PMD_MLX5_COMMON_MP_H_ -#include <mlx5_glue.h> +#include <mlx5_prm.h> #include <rte_eal.h> #include <rte_string_fns.h> -- 2.8.4