From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2B160A04FA; Sun, 2 Feb 2020 16:59:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9E2B11BFD9; Sun, 2 Feb 2020 16:59:18 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 8E4CB1BFB4 for ; Sun, 2 Feb 2020 16:59:16 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from asafp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 2 Feb 2020 17:59:15 +0200 Received: from pegasus07.mtr.labs.mlnx (pegasus07.mtr.labs.mlnx [10.210.16.112]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 012FxFMS014198; Sun, 2 Feb 2020 17:59:15 +0200 From: Matan Azrad To: Viacheslav Ovsiienko Cc: dev@dpdk.org Date: Sun, 2 Feb 2020 15:59:13 +0000 Message-Id: <1580659153-25436-1-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH] common/mlx5: redefine Netlink include X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The new RDMA-CORE versions may have the same sub-path to include the linux Netlink header file. It uses the pre-proccessor command #include_next what breaks the PMD gcc compilation of common/mlx5_netlink.h file in debug mode. Use specific include for linux/netlink.h to be taken from /usr/include/linux. Signed-off-by: Matan Azrad --- drivers/common/mlx5/mlx5_nl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/mlx5/mlx5_nl.h b/drivers/common/mlx5/mlx5_nl.h index 2c3f837..ebaa655 100644 --- a/drivers/common/mlx5/mlx5_nl.h +++ b/drivers/common/mlx5/mlx5_nl.h @@ -5,7 +5,7 @@ #ifndef RTE_PMD_MLX5_NL_H_ #define RTE_PMD_MLX5_NL_H_ -#include +#include "/usr/include/linux/netlink.h" #include -- 1.8.3.1