Reduce usage of netif/ethernet.h header, mostly lwip/prot/ethernet.h is sufficient

This commit is contained in:
Dirk Ziegelmeier
2016-08-19 08:36:00 +02:00
parent 43d6812b3e
commit 8eb9db18a2
7 changed files with 21 additions and 17 deletions

View File

@@ -52,6 +52,7 @@
#include "lwip/snmp.h"
#include "lwip/dhcp.h"
#include "lwip/autoip.h"
#include "netif/ethernet.h"
#include <string.h>

View File

@@ -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>

View File

@@ -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 */