Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Networking/LwipEthernet/GMAC/same70_gmac.h')
-rw-r--r--src/Networking/LwipEthernet/GMAC/same70_gmac.h8
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 */