mathiasbredholt / MapLooper

Embedded Live-Looping Tools for Digital Musical Instruments
GNU General Public License v3.0
3 stars 3 forks source link

Fail to compile with esp-idf release/v4.2 #1

Open mathiasbredholt opened 4 years ago

mathiasbredholt commented 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:

#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
mathiasbredholt commented 4 years ago

The mentioned pull request has been merged into master https://github.com/espressif/esp-idf/commit/8a102926f8bc74d180c61d913a69310f652dd1d6