eventdev: fix missing includes
authorThomas Monjalon <thomas@monjalon.net>
Fri, 4 Aug 2017 10:00:53 +0000 (12:00 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 4 Aug 2017 23:18:21 +0000 (01:18 +0200)
commita1742d172a7b68eeb0af8b3b5083ccca4d5993a1
tree0e75dade867ffb83753fb5369aeeae3347cdff8d
parentc65de526140e4b6e22c5889c35381cf274ab9ab3
eventdev: fix missing includes

The PCI helper file depends on some EAL definitions.
Spotted with devtools/check-includes.sh:
error: implicit declaration of function ‘rte_eal_process_type’
error: ‘RTE_PROC_PRIMARY’ undeclared
error: implicit declaration of function ‘rte_socket_id’

There was also this error because the inline keyword was missing:
error: ‘rte_event_pmd_pci_probe’ defined but not used

Fixes: 9a8269d56942 ("eventdev: make PCI probe and remove functions optional")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: John McNamara <john.mcnamara@intel.com>
lib/librte_eventdev/rte_eventdev_pmd_pci.h