diff --git a/src/core/ipv6/ip6.c b/src/core/ipv6/ip6.c index 3362249f..8cc9c010 100644 --- a/src/core/ipv6/ip6.c +++ b/src/core/ipv6/ip6.c @@ -46,6 +46,7 @@ #include "lwip/def.h" #include "lwip/mem.h" #include "lwip/netif.h" +#include "lwip/ip.h" #include "lwip/ip6.h" #include "lwip/ip6_addr.h" #include "lwip/ip6_frag.h" diff --git a/src/core/netif.c b/src/core/netif.c index 1c4b1b42..819b4ecc 100644 --- a/src/core/netif.c +++ b/src/core/netif.c @@ -63,6 +63,7 @@ #include "lwip/etharp.h" #include "lwip/stats.h" #include "lwip/sys.h" +#include "lwip/ip.h" #if ENABLE_LOOPBACK #if LWIP_NETIF_LOOPBACK_MULTITHREADING #include "lwip/tcpip.h"