diff options
Diffstat (limited to 'hdlcutil/hdrvcomm.c')
-rw-r--r-- | hdlcutil/hdrvcomm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hdlcutil/hdrvcomm.c b/hdlcutil/hdrvcomm.c index 628ec85..b40b09c 100644 --- a/hdlcutil/hdrvcomm.c +++ b/hdlcutil/hdrvcomm.c @@ -48,7 +48,13 @@ #include "hdrvcomm.h" #include "usersmdiag.h" #include <net/if_arp.h> + +#ifdef __GLIBC__ +#include <net/ethernet.h> +#else #include <linux/if_ether.h> +#endif + #include <linux/if_packet.h> #ifndef SOL_PACKET #define SOL_PACKET 263 |