diff --git a/soc/nxp/imx/imx7d/soc.h b/soc/nxp/imx/imx7d/soc.h index 5f9540084b..8998d11ee0 100644 --- a/soc/nxp/imx/imx7d/soc.h +++ b/soc/nxp/imx/imx7d/soc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, NXP + * Copyright 2017,2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ @@ -9,12 +9,18 @@ #ifndef _ASMLANGUAGE +#include + +#ifndef __cplusplus + #include "rdc.h" #include "rdc_defs_imx7d.h" #include "ccm_imx7d.h" #include "clock_freq.h" #include "soc_clk_freq.h" +#endif /* !__cplusplus */ + #endif /* !_ASMLANGUAGE */ #endif /* _SOC__H_ */