pci: fix build on FreeBSD
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 16 Mar 2020 16:37:05 +0000 (16:37 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 17 Mar 2020 09:10:15 +0000 (10:10 +0100)
commit034e7d87baab01631aeb260bb33682aa9c9ce674
tree2d621054fdca4d4d8fff96291e16ec82e881e6db
parent0dcba52562873f5efa437b61821be7c1bd459a34
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 <bruce.richardson@intel.com>
lib/librte_pci/rte_pci.h