Added "lwip/errno.h" to netdb.c includes

Defines EINVAL and ERANGE are used in the file but not included directly. When I try to use <sys/socket.h> and <arpa/inet.h> as LWIP_SOCKET_EXTERNAL_HEADERS it causes errors with this defines.
This commit is contained in:
Kirill Lokotkov 2023-11-29 12:41:25 +03:00 committed by goldsimon
parent e1b8080346
commit 7c494b3829

View File

@ -40,6 +40,7 @@
#if LWIP_DNS && LWIP_SOCKET
#include "lwip/err.h"
#include "lwip/errno.h"
#include "lwip/mem.h"
#include "lwip/memp.h"
#include "lwip/ip_addr.h"