From: Natanael Copa Date: Wed, 13 Mar 2019 17:06:49 +0000 (+0100) Subject: net/nfp: fix build with musl libc X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=bdbf45c24b07702fb69878b4b45db77db97bde6c;p=dpdk.git net/nfp: fix build with musl libc 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 ^~~~~~~~~~~~ Fixes: c7e9729da6b5 ("net/nfp: support CPP") Cc: stable@dpdk.org Signed-off-by: Natanael Copa Acked-by: Alejandro Lucero --- diff --git a/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c b/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c index 39bd48a836..93ee310f58 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