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 <execinfo.h>
          ^~~~~~~~~~~~

Fixes: c7e9729da6b5 ("net/nfp: support CPP")
Cc: stable@dpdk.org

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Acked-by: Alejandro Lucero <alejandro.lucero@netronome.com>
This commit is contained in:
Natanael Copa 2019-03-13 18:06:49 +01:00 committed by Thomas Monjalon
parent da1a31d92d
commit bdbf45c24b

View File

@ -16,7 +16,9 @@
#include <assert.h>
#include <stdio.h>
#if defined(RTE_BACKTRACE)
#include <execinfo.h>
#endif
#include <stdlib.h>
#include <unistd.h>
#include <stdint.h>