Browse Source

[lwip] fixed compile error.

aozima 7 years ago
parent
commit
e190b166e2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/net/lwip-2.0.2/src/netif/ethernetif.c

+ 1 - 0
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 */
 #endif /* LWIP_TCP */
 
 
 #if LWIP_UDP
 #if LWIP_UDP
+#include "lwip/udp.h"
 void list_udps(void)
 void list_udps(void)
 {
 {
     struct udp_pcb *pcb;
     struct udp_pcb *pcb;