diff --git a/src/inet/BUILD.gn b/src/inet/BUILD.gn index 632958b4b710c3..811ac5d5c5fb96 100644 --- a/src/inet/BUILD.gn +++ b/src/inet/BUILD.gn @@ -103,7 +103,7 @@ static_library("inet") { "${nlio_root}:nlio", ] - if (chip_with_lwip) { + if (chip_system_config_use_lwip) { public_deps += [ "${chip_root}/src/lwip" ] } diff --git a/src/inet/RawEndPoint.cpp b/src/inet/RawEndPoint.cpp index 4fe3c1db997c7b..d11d24cf09d00b 100644 --- a/src/inet/RawEndPoint.cpp +++ b/src/inet/RawEndPoint.cpp @@ -43,9 +43,9 @@ #include #include #if CHIP_HAVE_CONFIG_H -#include -#endif // CHIP_HAVE_CONFIG_H -#endif // CHIP_SYSTEM_CONFIG_USE_LWIP +#include // nogncheck +#endif // CHIP_HAVE_CONFIG_H +#endif // CHIP_SYSTEM_CONFIG_USE_LWIP #if CHIP_SYSTEM_CONFIG_USE_SOCKETS #include diff --git a/src/inet/UDPEndPoint.cpp b/src/inet/UDPEndPoint.cpp index c1bd4edea63c46..e85da7edf4237a 100644 --- a/src/inet/UDPEndPoint.cpp +++ b/src/inet/UDPEndPoint.cpp @@ -42,9 +42,9 @@ #include #include #if CHIP_HAVE_CONFIG_H -#include -#endif // CHIP_HAVE_CONFIG_H -#endif // CHIP_SYSTEM_CONFIG_USE_LWIP +#include // nogncheck +#endif // CHIP_HAVE_CONFIG_H +#endif // CHIP_SYSTEM_CONFIG_USE_LWIP #if CHIP_SYSTEM_CONFIG_USE_SOCKETS #if HAVE_SYS_SOCKET_H