From: Adrien Mazarguil Date: Fri, 2 Feb 2018 16:46:14 +0000 (+0100) Subject: net/mlx: fix missing includes for rdma-core glue X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=747ac2b4d96891876f15e23be82b8c8f87dcabba;p=dpdk.git net/mlx: fix missing includes for rdma-core glue For consistency since these includes are already pulled by others. Fixes: 4eba244b78ec ("net/mlx4: move rdma-core calls to separate file") Fixes: 0e83b8e536c1 ("net/mlx5: move rdma-core calls to separate file") Signed-off-by: Adrien Mazarguil --- diff --git a/drivers/net/mlx4/mlx4_glue.c b/drivers/net/mlx4/mlx4_glue.c index 30797bd2ba..47ae7ad0ff 100644 --- a/drivers/net/mlx4/mlx4_glue.c +++ b/drivers/net/mlx4/mlx4_glue.c @@ -3,6 +3,9 @@ * Copyright 2018 Mellanox */ +#include +#include + /* 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 0623511f24..de251c622b 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 +#include + /* 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 6afb629ff8..7fed302bad 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 #include /* Verbs headers do not support -pedantic. */