From e190b166e23a2fe438c93caf84e968cc62001df8 Mon Sep 17 00:00:00 2001 From: aozima Date: Wed, 23 May 2018 10:51:01 +0800 Subject: [PATCH] [lwip] fixed compile error. --- components/net/lwip-2.0.2/src/netif/ethernetif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/net/lwip-2.0.2/src/netif/ethernetif.c b/components/net/lwip-2.0.2/src/netif/ethernetif.c index 21f71e4287..8ab1727bd3 100644 --- a/components/net/lwip-2.0.2/src/netif/ethernetif.c +++ b/components/net/lwip-2.0.2/src/netif/ethernetif.c @@ -676,6 +676,7 @@ FINSH_FUNCTION_EXPORT(list_tcps, list all of tcp connections); #endif /* LWIP_TCP */ #if LWIP_UDP +#include "lwip/udp.h" void list_udps(void) { struct udp_pcb *pcb;