From 5667c8dfaa98b1d4763270c6a1fcddcc031996ee Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Wed, 5 Aug 2015 10:53:00 +0200 Subject: [PATCH] eal/ppc: fix build 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 Acked-by: Chao Zhu --- 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 e663c48272..64beddf966 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 + /** * Read the time base register. * -- 2.20.1