From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 055EDA058A; Fri, 17 Apr 2020 17:25:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9773E1E955; Fri, 17 Apr 2020 17:25:31 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id B19681E94D for ; Fri, 17 Apr 2020 17:25:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587137130; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iiuLB3Z225cknzbhh1cgFOejUx1H4lXHEpwzwrCAI/0=; b=iQxibr9elBdpr9xgbxOUVVE3S8/aHbxlwEGjUKj0g756PdNbPgVneBroqGhK05hcaxeDrH t/CScHBLejvCwE2fF51f72cMDmoFKXUyXhbibEMnNBBAk7GWRJNKi2pQOBQuWYylZguSRx gDipib7ox7voxIOBwVMQtv2+aVMNeoU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-373-e__pGnRqPr-AebNhtUlIuw-1; Fri, 17 Apr 2020 11:25:26 -0400 X-MC-Unique: e__pGnRqPr-AebNhtUlIuw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5895A801FC7; Fri, 17 Apr 2020 15:25:25 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.195.1]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1B73539C; Fri, 17 Apr 2020 15:25:23 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, David Christensen Date: Fri, 17 Apr 2020 17:25:16 +0200 Message-Id: <20200417152516.21375-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] [PATCH] eal/ppc: add missing header inclusion X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 =E2=80=98...=E2=80=99 before nume= ric constant } __rte_aligned(16) rte_xmm_t; ^~ compilation terminated due to -Wfatal-errors. Fixes: f35e5b3e07b2 ("replace alignment attributes") Signed-off-by: David Marchand --- 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/inc= lude/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_ =20 #include + #include "generic/rte_vect.h" +#include "rte_common.h" =20 #ifdef __cplusplus extern "C" { --=20 2.23.0