X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..9bccf70c0258c7cac2dcb80011b2a964d884c552:/bsd/net/ethernet.h?ds=inline diff --git a/bsd/net/ethernet.h b/bsd/net/ethernet.h index de84f184e..accdc05d0 100644 --- a/bsd/net/ethernet.h +++ b/bsd/net/ethernet.h @@ -26,6 +26,7 @@ #ifndef _NET_ETHERNET_H_ #define _NET_ETHERNET_H_ +#include /* * The number of bytes in an ethernet (MAC) address. @@ -101,11 +102,13 @@ struct ether_addr { #define ETHERMTU (ETHER_MAX_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) #define ETHERMIN (ETHER_MIN_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) -#if KERNEL +#ifdef KERNEL +#ifdef __APPLE_API_PRIVATE struct ether_addr *ether_aton __P((char *)); +#endif /* __APPLE_API_PRIVATE */ #endif -#if !KERNEL +#ifndef KERNEL #include /*