mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-11 01:53:48 +08:00
Reduce usage of netif/ethernet.h header, mostly lwip/prot/ethernet.h is sufficient
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
#include "lwip/snmp.h"
|
||||
#include "lwip/dhcp.h"
|
||||
#include "lwip/autoip.h"
|
||||
#include "netif/ethernet.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include "lwip/inet_chksum.h"
|
||||
#include "lwip/netif.h"
|
||||
#include "lwip/icmp6.h"
|
||||
#include "netif/ethernet.h"
|
||||
#include "lwip/prot/ethernet.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -58,6 +58,8 @@
|
||||
#endif /* LWIP_NETIF_LOOPBACK_MULTITHREADING */
|
||||
#endif /* ENABLE_LOOPBACK */
|
||||
|
||||
#include "netif/ethernet.h"
|
||||
|
||||
#if LWIP_AUTOIP
|
||||
#include "lwip/autoip.h"
|
||||
#endif /* LWIP_AUTOIP */
|
||||
|
||||
Reference in New Issue
Block a user