Skip to content

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

@mathiasbredholt

Description

@mathiasbredholt

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

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