summaryrefslogtreecommitdiffstats
path: root/hdlcutil
diff options
context:
space:
mode:
authorMichael Taylor <mctaylor@mctaylor.com>2004-12-12 04:53:43 +0000
committerMichael Taylor <mctaylor@mctaylor.com>2004-12-12 04:53:43 +0000
commit801c6a35d6b3daa066e66d80fcea7f1212d22ac5 (patch)
tree457b551c96ccc7bdcbd2083b216dc03ee1aee340 /hdlcutil
parentca91d9948f4fd4d644b6424945a65c18ca89dae4 (diff)
include <net/ethernet.h> or <linux/if_ether.h>
Diffstat (limited to 'hdlcutil')
-rw-r--r--hdlcutil/hdrvcomm.c6
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