From 3efc8a77a75e284cf5868af092d45abb48dce313 Mon Sep 17 00:00:00 2001 From: yinjiaming Date: Fri, 3 Mar 2023 11:05:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BD=BF=E7=94=A8newblic=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E7=94=A8lwip=5Fgethostname=E6=97=B6=E5=87=BA=E7=8E=B0=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=94=99=E8=AF=AF=20newlibc=20=E4=B8=AD=E7=9A=84=20h?= =?UTF-8?q?=5Ferrno=20=E6=9C=AA=E5=85=B7=E4=BD=93=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=EF=BC=8C=E6=95=85=E5=8F=96=E6=B6=88=E5=85=B6=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=B9=B6=E4=BD=BF=E7=94=A8=20lwip=20=E4=B8=AD=E5=B7=B2?= =?UTF-8?q?=E7=BB=8F=E5=AE=9A=E4=B9=89=E7=9A=84h=5Ferrno?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yinjiaming Change-Id: Ibbf3737b6dcd0e5974c064d8374da79a6299f27a --- components/net/lwip-2.1/porting/include/lwip/netdb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/net/lwip-2.1/porting/include/lwip/netdb.h b/components/net/lwip-2.1/porting/include/lwip/netdb.h index 0533eb32..8edbc35a 100644 --- a/components/net/lwip-2.1/porting/include/lwip/netdb.h +++ b/components/net/lwip-2.1/porting/include/lwip/netdb.h @@ -34,6 +34,8 @@ #include "lwip/arch.h" #include +#undef h_errno +#undef LWIP_DNS_API_DECLARE_H_ERRNO #include_next #endif /* _LWIP_PORTING_NETDB_H_ */ -- Gitee