From: Bruce Richardson Date: Fri, 15 Jan 2021 11:10:33 +0000 (+0000) Subject: eal: fix reciprocal header include X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8fc617099ec28e4690e460461f8872ae7b50e86a;p=dpdk.git eal: fix reciprocal header include The rte_reciprocal header file used standard __rte_always_inline from rte_common.h but does not include that header file, leading to compiler errors when the reciprocal header is included alone. Fixes: 6d45659eacb8 ("eal: add u64-bit variant for reciprocal divide") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson Reviewed-by: David Marchand --- diff --git a/lib/librte_eal/include/rte_reciprocal.h b/lib/librte_eal/include/rte_reciprocal.h index 63e16fde0a..735adb029b 100644 --- a/lib/librte_eal/include/rte_reciprocal.h +++ b/lib/librte_eal/include/rte_reciprocal.h @@ -27,6 +27,8 @@ #include +#include + struct rte_reciprocal { uint32_t m; uint8_t sh1, sh2;