Add #include <rte_compat.h> to file mlx5_devx_cmds.h. It is required for Windows to identify the __rte_internal definition.
Signed-off-by: Ophir Munk <ophi...@nvidia.com> --- drivers/common/mlx5/mlx5_devx_cmds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/mlx5/mlx5_devx_cmds.h b/drivers/common/mlx5/mlx5_devx_cmds.h index f3b2a7e..c972391 100644 --- a/drivers/common/mlx5/mlx5_devx_cmds.h +++ b/drivers/common/mlx5/mlx5_devx_cmds.h @@ -7,7 +7,7 @@ #include "mlx5_glue.h" #include "mlx5_prm.h" - +#include <rte_compat.h> /* This is limitation of libibverbs: in length variable type is u16. */ #define MLX5_DEVX_MAX_KLM_ENTRIES ((UINT16_MAX - \ -- 2.8.4