Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mathiasbredholt opened this issue Sep 23, 2020 · 1 comment
Open

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

mathiasbredholt opened this issue Sep 23, 2020 · 1 comment

Comments

@mathiasbredholt
Copy link
Owner

I issued a pull request to fix this issue: espressif/esp-idf#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
Copy link
Owner Author

The mentioned pull request has been merged into master espressif/esp-idf@8a10292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant