diff --git a/src/lib/core/BUILD.gn b/src/lib/core/BUILD.gn index 5a08f7d1935a23..60f56af7e5850b 100644 --- a/src/lib/core/BUILD.gn +++ b/src/lib/core/BUILD.gn @@ -75,6 +75,7 @@ source_set("chip_config_header") { public_deps = [ ":chip_buildconfig", "${chip_root}/src/ble:ble_config_header", + "${chip_root}/src/inet:inet_config_header", "${chip_root}/src/system:system_config_header", ] diff --git a/src/lib/core/CHIPConfig.h b/src/lib/core/CHIPConfig.h index 14453c98a02d73..59a6e8252356bf 100644 --- a/src/lib/core/CHIPConfig.h +++ b/src/lib/core/CHIPConfig.h @@ -42,8 +42,8 @@ #include #include -/* COMING SOON: making the INET Layer optional entails making this inclusion optional. */ -// #include "InetConfig.h" +#include + /* #if INET_CONFIG_ENABLE_TCP_ENDPOINT && INET_TCP_IDLE_CHECK_INTERVAL <= 0 #error "chip SDK requires INET_TCP_IDLE_CHECK_INTERVAL > 0" diff --git a/src/lib/core/CHIPCore.h b/src/lib/core/CHIPCore.h index 332978d881b2ca..bac6e473f39d43 100644 --- a/src/lib/core/CHIPCore.h +++ b/src/lib/core/CHIPCore.h @@ -31,14 +31,6 @@ #include -#if INET_CONFIG_ENABLE_TCP_ENDPOINT -#include -#endif // INET_CONFIG_ENABLE_TCP_ENDPOINT - -#if INET_CONFIG_ENABLE_UDP_ENDPOINT -#include -#endif // INET_CONFIG_ENABLE_UDP_ENDPOINT - #if CONFIG_NETWORK_LAYER_BLE #include #endif // CONFIG_NETWORK_LAYER_BLE