Fix compile when PPPOE is enabled

This commit is contained in:
Dirk Ziegelmeier 2016-02-26 22:50:44 +01:00
parent d5778bad2f
commit 2dc8f59bf4
2 changed files with 4 additions and 4 deletions

View File

@ -57,10 +57,6 @@
#include "netif/etharp.h" #include "netif/etharp.h"
#include "lwip/ip6.h" #include "lwip/ip6.h"
#if PPPOE_SUPPORT
#include "netif/ppp/pppoe.h"
#endif /* PPPOE_SUPPORT */
#include <string.h> #include <string.h>
#if LWIP_IPV4 && LWIP_ARP /* don't build if not configured for use in lwipopts.h */ #if LWIP_IPV4 && LWIP_ARP /* don't build if not configured for use in lwipopts.h */

View File

@ -48,6 +48,10 @@
#include <string.h> #include <string.h>
#if PPPOE_SUPPORT
#include "netif/ppp/pppoe.h"
#endif /* PPPOE_SUPPORT */
const struct eth_addr ethbroadcast = {{0xff,0xff,0xff,0xff,0xff,0xff}}; const struct eth_addr ethbroadcast = {{0xff,0xff,0xff,0xff,0xff,0xff}};
const struct eth_addr ethzero = {{0,0,0,0,0,0}}; const struct eth_addr ethzero = {{0,0,0,0,0,0}};