From: Bruce Richardson Date: Mon, 16 Mar 2020 16:37:05 +0000 (+0000) Subject: pci: fix build on FreeBSD X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=034e7d87baab01631aeb260bb33682aa9c9ce674;p=dpdk.git pci: fix build on FreeBSD When removing the extra headers from rte_pci.h stdlib should have been removed instead of stdio, since off_t is missing for BSD builds when just including stdlib.h Fixes: 0dcba5256287 ("pci: remove unneeded includes in public header file") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson --- diff --git a/lib/librte_pci/rte_pci.h b/lib/librte_pci/rte_pci.h index c591af010d..4087771c1e 100644 --- a/lib/librte_pci/rte_pci.h +++ b/lib/librte_pci/rte_pci.h @@ -16,7 +16,7 @@ extern "C" { #endif -#include +#include #include #include #include