Parcourir la source

[lwip] fixed compile error.

aozima il y a 7 ans
Parent
commit
e190b166e2
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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 */
 
 #if LWIP_UDP
+#include "lwip/udp.h"
 void list_udps(void)
 {
     struct udp_pcb *pcb;