From: Bruce Richardson Date: Fri, 15 Jan 2021 11:10:43 +0000 (+0000) Subject: table: fix missing header include X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3b4d434e531acafed757b80d14f4b5bb57d1d4aa;p=dpdk.git table: fix missing header include The rte_lru_x86.h header, included from the main rte_lru.h header, uses the RTE_CC_IS_GNU macro from rte_common.h but fails to include that header file. Fixes: 0c9a5735a947 ("eal: fix compiler detection in public headers") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson Reviewed-by: David Marchand --- diff --git a/lib/librte_table/rte_lru_x86.h b/lib/librte_table/rte_lru_x86.h index 0e24906c2c..38476d956e 100644 --- a/lib/librte_table/rte_lru_x86.h +++ b/lib/librte_table/rte_lru_x86.h @@ -12,6 +12,7 @@ extern "C" { #include #include +#include #ifndef RTE_TABLE_HASH_LRU_STRATEGY #define RTE_TABLE_HASH_LRU_STRATEGY 2