diff --git a/examples/platform/linux/AppMain.cpp b/examples/platform/linux/AppMain.cpp index 84bb1135b99089..56e6edd44687f2 100644 --- a/examples/platform/linux/AppMain.cpp +++ b/examples/platform/linux/AppMain.cpp @@ -137,6 +137,18 @@ DeviceLayer::NetworkCommissioning::DarwinWiFiDriver sWiFiDriver; DeviceLayer::NetworkCommissioning::DarwinEthernetDriver sEthernetDriver; #endif // CHIP_DEVICE_LAYER_TARGET_DARWIN +#ifndef CHIP_APP_MAIN_HAS_THREAD_DRIVER +#define CHIP_APP_MAIN_HAS_THREAD_DRIVER 0 +#endif // CHIP_APP_MAIN_HAS_THREAD_DRIVER + +#ifndef CHIP_APP_MAIN_HAS_WIFI_DRIVER +#define CHIP_APP_MAIN_HAS_WIFI_DRIVER 0 +#endif // CHIP_APP_MAIN_HAS_WIFI_DRIVER + +#ifndef CHIP_APP_MAIN_HAS_ETHERNET_DRIVER +#define CHIP_APP_MAIN_HAS_ETHERNET_DRIVER 0 +#endif // CHIP_APP_MAIN_HAS_ETHERNET_DRIVER + #if CHIP_APP_MAIN_HAS_THREAD_DRIVER app::Clusters::NetworkCommissioning::Instance sThreadNetworkCommissioningInstance(kRootEndpointId, &sThreadDriver); #endif // CHIP_APP_MAIN_HAS_THREAD_DRIVER diff --git a/examples/platform/linux/Options.h b/examples/platform/linux/Options.h index b03da07cb5b929..8a080680cefbcf 100644 --- a/examples/platform/linux/Options.h +++ b/examples/platform/linux/Options.h @@ -32,6 +32,7 @@ #include #include #include +#include #include #include