Buid fix for Linux

This commit is contained in:
Joseph Henry
2017-11-06 23:53:25 -08:00
parent 614432907c
commit ab6eb57da6
4 changed files with 6 additions and 6 deletions

View File

@@ -57,8 +57,7 @@ struct gethostbyname_r_helper {
};
/** h_errno is exported in netdb.h for access by applications. */
//#if LWIP_DNS_API_DECLARE_H_ERRNO
#ifndef h_errno
#if LWIP_DNS_API_DECLARE_H_ERRNO
int h_errno;
#endif /* LWIP_DNS_API_DECLARE_H_ERRNO */