summaryrefslogtreecommitdiffstats
path: root/ax25/rxecho.c
diff options
context:
space:
mode:
Diffstat (limited to 'ax25/rxecho.c')
-rw-r--r--ax25/rxecho.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ax25/rxecho.c b/ax25/rxecho.c
index 633509e..0dd601f 100644
--- a/ax25/rxecho.c
+++ b/ax25/rxecho.c
@@ -56,7 +56,13 @@
#include <config.h>
#include <sys/socket.h>
+
+#ifdef __GLIBC__
#include <net/ethernet.h>
+#else
+#include <linux/if_ether.h>
+#endif
+
#include <netinet/in.h>
#ifdef HAVE_NETAX25_AX25_H