From: Jingjing Wu Date: Mon, 18 Sep 2017 18:11:28 +0000 (+0800) Subject: net/i40e/base: fix bool definition X-Git-Tag: spdx-start~1943 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c7755aef465f3d596d92b09b71f4c4b3e52027a9;p=dpdk.git net/i40e/base: fix bool definition Use stdbool.h instead of defining the bool type, to make sure the virtchnnl msg format definition is the same between PF and VF. Fixes: 4861cde46116 ("i40e: new poll mode driver") Cc: stable@dpdk.org Signed-off-by: Jingjing Wu --- diff --git a/drivers/net/i40e/base/i40e_osdep.h b/drivers/net/i40e/base/i40e_osdep.h index fbcb729e80..8e5c593c99 100644 --- a/drivers/net/i40e/base/i40e_osdep.h +++ b/drivers/net/i40e/base/i40e_osdep.h @@ -35,6 +35,7 @@ #include #include +#include #include #include @@ -57,7 +58,6 @@ typedef uint16_t u16; typedef uint32_t u32; typedef int32_t s32; typedef uint64_t u64; -typedef int bool; typedef enum i40e_status_code i40e_status; #define __iomem