From: Andrew Rybchenko Date: Thu, 24 Sep 2020 12:12:14 +0000 (+0100) Subject: common/sfc_efx: do not include libefx headers from efsys.h X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d354c5e77666f443dfdb1dadc7b8abe0c9fe258d;p=dpdk.git common/sfc_efx: do not include libefx headers from efsys.h efsys.h may depends on target system headers only. Otherwise, it could result in cross-dependency when libefx header depends on efsys.h and efsys.h depends on the libefx header. Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Andy Moreton --- diff --git a/drivers/common/sfc_efx/efsys.h b/drivers/common/sfc_efx/efsys.h index 1567d91588..e191cb5b6a 100644 --- a/drivers/common/sfc_efx/efsys.h +++ b/drivers/common/sfc_efx/efsys.h @@ -50,7 +50,6 @@ extern "C" { #else #error "Cannot determine system endianness" #endif -#include "efx_types.h" typedef bool boolean_t;