summaryrefslogtreecommitdiffstats
path: root/ax25/mheardd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ax25/mheardd.c')
-rw-r--r--ax25/mheardd.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/ax25/mheardd.c b/ax25/mheardd.c
index 2d98fad..f1a6aab 100644
--- a/ax25/mheardd.c
+++ b/ax25/mheardd.c
@@ -14,11 +14,27 @@
#include <sys/stat.h>
#include <sys/socket.h>
+
+#ifdef __GLIBC__
#include <net/ethernet.h>
+#else
+#include <linux/if_ether.h>
+#endif
+
#include <netinet/in.h>
+#include <config.h>
+#ifdef HAVE_NETAX25_AX25_H
#include <netax25/ax25.h>
+#else
+#include <netax25/kernel_ax25.h>
+#endif
+#ifdef HAVE_NETROSE_ROSE_H
#include <netrose/rose.h>
+#else
+#include <netax25/kernel_rose.h>
+#endif
+
#include <netax25/axlib.h>
#include <netax25/axconfig.h>