Byte ordering macros were used without including the needed header. Fixes: ce10b21bf624 ("eal/ppc: fix cpu cycle count for little endian")
Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com> --- lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h b/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h index e663c48..64beddf 100644 --- a/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h @@ -39,6 +39,8 @@ extern "C" { #include "generic/rte_cycles.h" +#include <rte_byteorder.h> + /** * Read the time base register. * -- 2.4.2