From: Ciara Power Date: Wed, 23 Oct 2019 12:53:00 +0000 (+0100) Subject: ethdev: fix include of ethernet header file X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=22a076367369a04391a7b16d60a2905cf5c1da46;p=dpdk.git ethdev: fix include of ethernet header file The include for rte_ether.h in each of these files should not use quotes, as the header file is not in the librte_ethdev directory. These are now updated to use <> symbols, to search directories pre-designated by the compiler. Fixes: 57668ed7bc08 ("net: move ethernet definitions to the net library") Cc: stable@dpdk.org Signed-off-by: Ciara Power Acked-by: Thomas Monjalon --- diff --git a/lib/librte_ethdev/rte_eth_ctrl.h b/lib/librte_ethdev/rte_eth_ctrl.h index be4b4af65b..1416c371fb 100644 --- a/lib/librte_ethdev/rte_eth_ctrl.h +++ b/lib/librte_ethdev/rte_eth_ctrl.h @@ -7,7 +7,7 @@ #include #include -#include "rte_ether.h" +#include #include "rte_flow.h" /** diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 78da293979..7743205d38 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -37,8 +37,8 @@ #include #include #include +#include -#include "rte_ether.h" #include "rte_ethdev.h" #include "rte_ethdev_driver.h" #include "ethdev_profile.h" diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 33c528bb8e..c36c1b631f 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -156,8 +156,8 @@ extern "C" { #include #include #include +#include -#include "rte_ether.h" #include "rte_dev_info.h" extern int rte_eth_dev_logtype;