From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH] eal/ppc: fix build Date: Wed, 5 Aug 2015 11:13:22 +0200 Message-ID: <1438766002-1194-1-git-send-email-thomas.monjalon@6wind.com> Cc: dev@dpdk.org To: Chao Zhu Return-path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id E57765A56 for ; Wed, 5 Aug 2015 11:14:47 +0200 (CEST) Received: by wijp15 with SMTP id p15so39642941wij.0 for ; Wed, 05 Aug 2015 02:14:47 -0700 (PDT) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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 + /** * Read the time base register. * -- 2.4.2