diff --git a/libcpu/aarch64/common/setup.c b/libcpu/aarch64/common/setup.c index d64dfc98119..e9908a737a0 100644 --- a/libcpu/aarch64/common/setup.c +++ b/libcpu/aarch64/common/setup.c @@ -13,7 +13,9 @@ #define DBG_TAG "cpu.aa64" #define DBG_LVL DBG_INFO #include +#ifdef RT_USING_SMP #include +#endif /* RT_USING_SMP */ #include #include #include