X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fnet%2Fethernet.h;fp=include%2Fnet%2Fethernet.h;h=f3c11e7da3e52cec3116bf4d2a7880ab09d676e8;hp=a536502d945924b4425ce0cd63ed540a2f86d934;hb=3ed8c9f2df0b5f0bfe1006037c46d4f32ec6ca7b;hpb=26120950e26478740a29fd0b1fd78a0bd6b880c8 diff --git a/include/net/ethernet.h b/include/net/ethernet.h index a536502d..f3c11e7d 100644 --- a/include/net/ethernet.h +++ b/include/net/ethernet.h @@ -1,6 +1,10 @@ #ifndef __NET_ETHERNET_H #define __NET_ETHERNET_H 1 +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include @@ -44,4 +48,8 @@ struct ether_header { #define ETHERMTU ETH_DATA_LEN #define ETHERMIN (ETHER_MIN_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN) +#ifdef __cplusplus +} +#endif + #endif