From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alejandro Lucero Subject: Re: [PATCH v3 07/15] net/nfp: build fix for musl libc Date: Thu, 21 Mar 2019 09:48:24 +0000 Message-ID: References: <20190313170657.16688-1-ncopa@alpinelinux.org> <20190313170657.16688-8-ncopa@alpinelinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: dev To: Natanael Copa Return-path: Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) by dpdk.org (Postfix) with ESMTP id 0E7BD4F90 for ; Thu, 21 Mar 2019 10:48:35 +0100 (CET) Received: by mail-io1-f49.google.com with SMTP id v10so4680924iom.8 for ; Thu, 21 Mar 2019 02:48:35 -0700 (PDT) In-Reply-To: <20190313170657.16688-8-ncopa@alpinelinux.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Mar 13, 2019 at 5:08 PM Natanael Copa wrote: > Fixes following build error on systems without execinfo.h: > > ../drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c:19:10: fatal error: > execinfo.h: No such file or directory > #include > ^~~~~~~~~~~~ > > Signed-off-by: Natanael Copa > Acked-by: Alejandro Lucero > --- > drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c > b/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c > index 39bd48a83..93ee310f5 100644 > --- a/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c > +++ b/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c > @@ -16,7 +16,9 @@ > > #include > #include > +#if defined(RTE_BACKTRACE) > #include > +#endif > #include > #include > #include > -- > 2.21.0 > >