From: Andrew Rybchenko Date: Mon, 10 Jun 2019 07:38:20 +0000 (+0100) Subject: net/sfc/base: do not rely on indirect header inclusion X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=596bff316da6ce002428311c43b6c20e9f9daafe;p=dpdk.git net/sfc/base: do not rely on indirect header inclusion Types defined in efx_types.h are used in efx.h and it is better do not rely on the header inclusion from somewhere else (typically from efsys.h). Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/base/efx.h b/drivers/net/sfc/base/efx.h index 293a0e254f..8a2bb39150 100644 --- a/drivers/net/sfc/base/efx.h +++ b/drivers/net/sfc/base/efx.h @@ -9,6 +9,7 @@ #include "efx_annote.h" #include "efsys.h" +#include "efx_types.h" #include "efx_check.h" #include "efx_phy_ids.h"