diff options
Diffstat (limited to 'src/Networking/LwipEthernet/GMAC/same70_gmac.h')
-rw-r--r-- | src/Networking/LwipEthernet/GMAC/same70_gmac.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Networking/LwipEthernet/GMAC/same70_gmac.h b/src/Networking/LwipEthernet/GMAC/same70_gmac.h index 1cb25970..fe263623 100644 --- a/src/Networking/LwipEthernet/GMAC/same70_gmac.h +++ b/src/Networking/LwipEthernet/GMAC/same70_gmac.h @@ -45,6 +45,10 @@ #ifndef ETHERNETIF_H_INCLUDED #define ETHERNETIF_H_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif + #include "lwip/err.h" #include "lwip/ip_addr.h" #include "lwip/netif.h" @@ -70,4 +74,8 @@ void ethernetif_set_mac_address(const uint8_t macAddress[]); #endif +#ifdef __cplusplus +} +#endif + #endif /* ETHERNETIF_H_INCLUDED */ |