Skip to content

Commit

Permalink
table: fix missing header include
Browse files Browse the repository at this point in the history
[ upstream commit 3b4d434 ]

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: 0c9a573 ("eal: fix compiler detection in public headers")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
  • Loading branch information
bruce-richardson authored and bluca committed Feb 4, 2021
1 parent c98913b commit b7afbab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/librte_table/rte_lru_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ extern "C" {
#include <stdint.h>

#include <rte_config.h>
#include <rte_common.h>

#ifndef RTE_TABLE_HASH_LRU_STRATEGY
#define RTE_TABLE_HASH_LRU_STRATEGY 2
Expand Down

0 comments on commit b7afbab

Please sign in to comment.