diff --git a/config/mbed/CMakeLists.txt b/config/mbed/CMakeLists.txt index 8a90c376cf858f..7571426a4f78a0 100644 --- a/config/mbed/CMakeLists.txt +++ b/config/mbed/CMakeLists.txt @@ -194,6 +194,10 @@ list(APPEND CHIP_CFLAGS \"-D__LINUX_ERRNO_EXTENSIONS__=1\" ) +list(APPEND CHIP_CFLAGS + \"-DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=\" +) + if (CONFIG_MBED_BSD_SOCKET_TRACE) list(APPEND CHIP_CFLAGS \"-DMBED_BSD_SOCKET_TRACE=1\" @@ -344,6 +348,10 @@ list(APPEND CHIP_DEFINES __LINUX_ERRNO_EXTENSIONS__=1 ) +list(APPEND CHIP_DEFINES + CHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER= +) + if (CONFIG_MBED_BSD_SOCKET_TRACE) list(APPEND CHIP_DEFINES MBED_BSD_SOCKET_TRACE=1