diff --git a/src/include/lwip/etharp.h b/src/include/lwip/etharp.h index 389cf9c4..04a56e65 100644 --- a/src/include/lwip/etharp.h +++ b/src/include/lwip/etharp.h @@ -58,7 +58,7 @@ extern "C" { #if LWIP_IPV4 && LWIP_ARP /* don't build if not configured for use in lwipopts.h */ -#include "lwip/prot/arp.h" +#include "lwip/prot/etharp.h" #define SIZEOF_ETHARP_PACKET (SIZEOF_ETH_HDR + SIZEOF_ETHARP_HDR) #if ETHARP_SUPPORT_VLAN && defined(LWIP_HOOK_VLAN_SET) diff --git a/src/include/lwip/prot/arp.h b/src/include/lwip/prot/etharp.h similarity index 96% rename from src/include/lwip/prot/arp.h rename to src/include/lwip/prot/etharp.h index 382c6a92..ec78305b 100644 --- a/src/include/lwip/prot/arp.h +++ b/src/include/lwip/prot/etharp.h @@ -34,8 +34,8 @@ * Author: Adam Dunkels * */ -#ifndef LWIP_HDR_PROT_ARP_H -#define LWIP_HDR_PROT_ARP_H +#ifndef LWIP_HDR_PROT_ETHARP_H +#define LWIP_HDR_PROT_ETHARP_H #include "lwip/arch.h" #include "lwip/prot/ethernet.h" @@ -84,9 +84,8 @@ enum etharp_opcode { ARP_REPLY = 2 }; - #ifdef __cplusplus } #endif -#endif /* LWIP_HDR_PROT_ARP_H */ +#endif /* LWIP_HDR_PROT_ETHARP_H */