From: Bruce Richardson Date: Fri, 15 Jan 2021 11:10:35 +0000 (+0000) Subject: ethdev: fix missing header include X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ebbd4d33d78555f083033d7bbf5668eecb285b94;p=dpdk.git ethdev: fix missing header include The define for RTE_ETH_FLOW_MAX is defined in rte_ethdev.h, so that header should be included in rte_eth_ctrl.h to allow it to be compiled independently. Fixes: 7fa96d696f2c ("ethdev: unification of flow types") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson Acked-by: Andrew Rybchenko Reviewed-by: David Marchand --- diff --git a/lib/librte_ethdev/rte_eth_ctrl.h b/lib/librte_ethdev/rte_eth_ctrl.h index 1cca522fa3..8a50dbfef9 100644 --- a/lib/librte_ethdev/rte_eth_ctrl.h +++ b/lib/librte_ethdev/rte_eth_ctrl.h @@ -9,6 +9,7 @@ #include #include #include "rte_flow.h" +#include "rte_ethdev.h" /** * @deprecated Please use rte_flow API instead of this legacy one.