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: 0dcba52562 ("pci: remove unneeded includes in public header file")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
Bruce Richardson 2020-03-16 16:37:05 +00:00 committed by Thomas Monjalon
parent 0dcba52562
commit 034e7d87ba

View File

@ -16,7 +16,7 @@
extern "C" {
#endif
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <sys/queue.h>
#include <inttypes.h>