diff --git a/examples/platform/silabs/BaseApplication.cpp b/examples/platform/silabs/BaseApplication.cpp index 5051edac48..5bd90be317 100644 --- a/examples/platform/silabs/BaseApplication.cpp +++ b/examples/platform/silabs/BaseApplication.cpp @@ -92,7 +92,9 @@ // Tracing #include #if MATTER_TRACING_ENABLED +#ifdef ENABLE_CHIP_SHELL #include +#endif // ENABLE_CHIP_SHELL #include #endif // MATTER_TRACING_ENABLED