For consistency since these includes are already pulled by others. Fixes: 6aca97d310 ("net/mlx4: move rdma-core calls to separate file") Fixes: 7202118686 ("net/mlx5: move rdma-core calls to separate file")
Signed-off-by: Adrien Mazarguil <adrien.mazarg...@6wind.com> --- drivers/net/mlx4/mlx4_glue.c | 3 +++ drivers/net/mlx4/mlx4_glue.h | 3 +++ drivers/net/mlx5/mlx5_glue.h | 1 + 3 files changed, 7 insertions(+) diff --git a/drivers/net/mlx4/mlx4_glue.c b/drivers/net/mlx4/mlx4_glue.c index 30797bd2b..47ae7ad0f 100644 --- a/drivers/net/mlx4/mlx4_glue.c +++ b/drivers/net/mlx4/mlx4_glue.c @@ -3,6 +3,9 @@ * Copyright 2018 Mellanox */ +#include <stddef.h> +#include <stdint.h> + /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/drivers/net/mlx4/mlx4_glue.h b/drivers/net/mlx4/mlx4_glue.h index 0623511f2..de251c622 100644 --- a/drivers/net/mlx4/mlx4_glue.h +++ b/drivers/net/mlx4/mlx4_glue.h @@ -6,6 +6,9 @@ #ifndef MLX4_GLUE_H_ #define MLX4_GLUE_H_ +#include <stddef.h> +#include <stdint.h> + /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/drivers/net/mlx5/mlx5_glue.h b/drivers/net/mlx5/mlx5_glue.h index 6afb629ff..7fed302ba 100644 --- a/drivers/net/mlx5/mlx5_glue.h +++ b/drivers/net/mlx5/mlx5_glue.h @@ -6,6 +6,7 @@ #ifndef MLX5_GLUE_H_ #define MLX5_GLUE_H_ +#include <stddef.h> #include <stdint.h> /* Verbs headers do not support -pedantic. */ -- 2.11.0