diff options
Diffstat (limited to 'hdlcutil/hdrvcomm.c')
-rw-r--r-- | hdlcutil/hdrvcomm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hdlcutil/hdrvcomm.c b/hdlcutil/hdrvcomm.c index 55f0f38..05259e5 100644 --- a/hdlcutil/hdrvcomm.c +++ b/hdlcutil/hdrvcomm.c @@ -43,7 +43,11 @@ #include <fcntl.h> #include <unistd.h> #include <stdlib.h> -/*#include <linux/if.h>*/ +#ifdef __GLIBC__ +#include <netinet/if_ether.h> +#else +#include <linux/if_ether.h> +#endif #include <net/if.h> #include "hdrvcomm.h" #include "usersmdiag.h" |