From 97ad1fd90d1ab95164786216eda2d7651cf5a46a Mon Sep 17 00:00:00 2001 From: David Marchand Date: Fri, 17 Apr 2020 16:56:11 +0200 Subject: [PATCH] eal/ppc: fix build MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Compilation is broken on ppc: CC otx2_rx.o In file included from .../drivers/net/octeontx2/otx2_rx.c:5:0: .../builds/ppc_64-power8-linux-gcc/include/rte_vect.h:29:17: error: expected declaration specifiers or ‘...’ before numeric constant } __rte_aligned(16) rte_xmm_t; ^~ compilation terminated due to -Wfatal-errors. Fixes: f35e5b3e07b2 ("replace alignment attributes") Signed-off-by: David Marchand Tested-by: Thomas Monjalon --- lib/librte_eal/ppc/include/rte_vect.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/ppc/include/rte_vect.h b/lib/librte_eal/ppc/include/rte_vect.h index a0dabf02eb..1d6c29be02 100644 --- a/lib/librte_eal/ppc/include/rte_vect.h +++ b/lib/librte_eal/ppc/include/rte_vect.h @@ -7,7 +7,9 @@ #define _RTE_VECT_PPC_64_H_ #include + #include "generic/rte_vect.h" +#include "rte_common.h" #ifdef __cplusplus extern "C" { -- 2.20.1