Skip to content

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

Description

@badebold

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions