From 8fc617099ec28e4690e460461f8872ae7b50e86a Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 15 Jan 2021 11:10:33 +0000 Subject: [PATCH] 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 --- lib/librte_eal/include/rte_reciprocal.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.20.1