diff --git a/bsp/cvitek/drivers/libraries/eth/dw_eth_mac.h b/bsp/cvitek/drivers/libraries/eth/dw_eth_mac.h index 208e3e7c37..0947de346f 100644 --- a/bsp/cvitek/drivers/libraries/eth/dw_eth_mac.h +++ b/bsp/cvitek/drivers/libraries/eth/dw_eth_mac.h @@ -11,6 +11,10 @@ extern "C" { #endif +#ifndef __aligned +#define __aligned(x) __attribute__((aligned(x))) +#endif + typedef void *eth_mac_handle_t; #define CSI_ETH_MAC_CONFIGURE (0x01) ///< Configure MAC; arg = configuration