Open mathiasbredholt opened 4 years ago
I issued a pull request to fix this issue: https://github.com/espressif/esp-idf/pull/5900 In the mean time change the file esp-idf/components/lwip/port/esp32/include/netdb.h to:
esp-idf/components/lwip/port/esp32/include/netdb.h
#ifdef __cplusplus extern "C" { #endif int getnameinfo(const struct sockaddr *addr, socklen_t addrlen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags); #ifdef __cplusplus } #endif
The mentioned pull request has been merged into master https://github.com/espressif/esp-idf/commit/8a102926f8bc74d180c61d913a69310f652dd1d6
I issued a pull request to fix this issue: https://github.com/espressif/esp-idf/pull/5900 In the mean time change the file
esp-idf/components/lwip/port/esp32/include/netdb.h
to: