From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrien Mazarguil Subject: [PATCH v1 2/4] net/mlx: fix missing includes for rdma-core glue Date: Fri, 2 Feb 2018 16:16:37 +0100 Message-ID: <20180202144736.8239-3-adrien.mazarguil@6wind.com> References: <20180202144736.8239-1-adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Nelio Laranjeiro , dev@dpdk.org, Marcelo Ricardo Leitner To: Shahaf Shuler Return-path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 9193D1B161 for ; Fri, 2 Feb 2018 16:16:50 +0100 (CET) Received: by mail-wm0-f66.google.com with SMTP id f3so13121966wmc.1 for ; Fri, 02 Feb 2018 07:16:50 -0800 (PST) Content-Disposition: inline In-Reply-To: <20180202144736.8239-1-adrien.mazarguil@6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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 +#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 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 +#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 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 #include /* Verbs headers do not support -pedantic. */ -- 2.11.0