eal/ppc: fix build
authorThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 5 Aug 2015 08:53:00 +0000 (10:53 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 5 Aug 2015 12:47:53 +0000 (14:47 +0200)
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@6wind.com>
Acked-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h

index e663c48..64beddf 100644 (file)
@@ -39,6 +39,8 @@ extern "C" {
 
 #include "generic/rte_cycles.h"
 
+#include <rte_byteorder.h>
+
 /**
  * Read the time base register.
  *