From 97b7555119ff0d842164df8bb16927c66824a263 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Fri, 26 Feb 2016 14:21:03 +0100 Subject: [PATCH] bring back ETHARP_HWADDR_LEN (if anyone uses it) --- src/include/netif/etharp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/netif/etharp.h b/src/include/netif/etharp.h index 3bfcb8aa..2ece0138 100644 --- a/src/include/netif/etharp.h +++ b/src/include/netif/etharp.h @@ -51,6 +51,10 @@ extern "C" { #if LWIP_IPV4 && LWIP_ARP /* don't build if not configured for use in lwipopts.h */ +#ifndef ETHARP_HWADDR_LEN +#define ETHARP_HWADDR_LEN ETH_HWADDR_LEN +#endif + #ifdef PACK_STRUCT_USE_INCLUDES # include "arch/bpstruct.h" #endif