From: Szabolcs Nagy Date: Fri, 8 May 2015 08:46:50 +0000 (+0100) Subject: fix netinet/ether.h for c++ X-Git-Tag: v1.1.9~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=20de36cc89a4d5d44ff12511eae36eb15df982fb;p=oweals%2Fmusl.git fix netinet/ether.h for c++ --- diff --git a/include/netinet/ether.h b/include/netinet/ether.h index d64c9ef5..eec7e53c 100644 --- a/include/netinet/ether.h +++ b/include/netinet/ether.h @@ -1,6 +1,10 @@ #ifndef _NETINET_ETHER_H #define _NETINET_ETHER_H +#ifdef __cplusplus +extern "C" { +#endif + #include char *ether_ntoa (const struct ether_addr *); @@ -11,4 +15,8 @@ int ether_line(const char *, struct ether_addr *, char *); int ether_ntohost(char *, const struct ether_addr *); int ether_hostton(const char *, struct ether_addr *); +#ifdef __cplusplus +} +#endif + #endif