diff options
author | Michael Taylor <mctaylor@mctaylor.com> | 2004-12-12 04:53:43 +0000 |
---|---|---|
committer | Michael Taylor <mctaylor@mctaylor.com> | 2004-12-12 04:53:43 +0000 |
commit | 801c6a35d6b3daa066e66d80fcea7f1212d22ac5 (patch) | |
tree | 457b551c96ccc7bdcbd2083b216dc03ee1aee340 | |
parent | ca91d9948f4fd4d644b6424945a65c18ca89dae4 (diff) |
include <net/ethernet.h> or <linux/if_ether.h>
-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 |