aboutsummaryrefslogtreecommitdiff
path: root/inet/netinet/ether.h
diff options
context:
space:
mode:
Diffstat (limited to 'inet/netinet/ether.h')
-rw-r--r--inet/netinet/ether.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inet/netinet/ether.h b/inet/netinet/ether.h
index 3dff523b2f..0952b23f97 100644
--- a/inet/netinet/ether.h
+++ b/inet/netinet/ether.h
@@ -24,6 +24,7 @@
/* Get definition of `struct ether_addr'. */
#include <netinet/if_ether.h>
+#ifdef __USE_MISC
__BEGIN_DECLS
/* Convert 48 bit Ethernet ADDRess to ASCII. */
@@ -49,5 +50,6 @@ extern int ether_line (const char *__line, struct ether_addr *__addr,
char *__hostname) __THROW;
__END_DECLS
+#endif /* Use misc. */
#endif /* netinet/ether.h */