summaryrefslogtreecommitdiffstats
path: root/hdlcutil/hdrvcomm.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-08-10 05:54:53 +0200
committerRalf Baechle <ralf@linux-mips.org>1999-08-10 05:54:53 +0200
commita4cc50373fbe27c973f95628fc142efec14e05cf (patch)
treebc163bed95c61b53f1399cb27e1fe9dd60bb6b4f /hdlcutil/hdrvcomm.c
parent5f5d1604492ae15967f9d86f41fbeeedcae0ae2b (diff)
Import ax25-tools 0.0.4 from tarballax25-tools-0.0.4
Diffstat (limited to 'hdlcutil/hdrvcomm.c')
-rw-r--r--hdlcutil/hdrvcomm.c6
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"