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 6E093A00E6 for ; Sun, 1 Sep 2019 08:58:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4D49E1D175; Sun, 1 Sep 2019 08:58:31 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 315E51D175 for ; Sun, 1 Sep 2019 08:58:30 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 76FB8360; Sat, 31 Aug 2019 23:58:29 -0700 (PDT) Received: from dp6132.austin.arm.com (dp6132.austin.arm.com [10.118.12.38]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 320953F59C; Sun, 1 Sep 2019 00:00:52 -0700 (PDT) From: Dharmik Thakkar To: Wenzhuo Lu , Konstantin Ananyev Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, ruifeng.wang@arm.com, Dharmik Thakkar Date: Sun, 1 Sep 2019 06:58:08 +0000 Message-Id: <20190901065810.15137-2-dharmik.thakkar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190901065810.15137-1-dharmik.thakkar@arm.com> References: <20190901065810.15137-1-dharmik.thakkar@arm.com> Subject: [dpdk-dev] [RFC 1/3] net/ixgbe: avoid multpile definitions of 'bool' 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" Compilation issue arises due to multiple definitions of 'bool' in 'ixgbe_ethdev.h'. (Please note that this issue showed up when 'rte_rcu_qsbr.h' got included within 'rte_hash.h', because 'rte_rcu_qsbr.h' includes 'stdbool.h'. This is a temporary fix. Recommend suggesting better solution.) Signed-off-by: Dharmik Thakkar --- drivers/net/ixgbe/ixgbe_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.h b/drivers/net/ixgbe/ixgbe_ethdev.h index 6e9ed2e10f3c..dd4d6c022545 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.h +++ b/drivers/net/ixgbe/ixgbe_ethdev.h @@ -18,6 +18,7 @@ #include #include #include +#undef bool #include #include #include -- 2.17.1