瀏覽代碼

[lwip] fixed compile error.

aozima 7 年之前
父節點
當前提交
e190b166e2
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;