summaryrefslogtreecommitdiffstats
path: root/ax25/mheard.c
diff options
context:
space:
mode:
Diffstat (limited to 'ax25/mheard.c')
-rw-r--r--ax25/mheard.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/ax25/mheard.c b/ax25/mheard.c
index 2ab582c..6b3f21a 100644
--- a/ax25/mheard.c
+++ b/ax25/mheard.c
@@ -6,13 +6,22 @@
#include <sys/types.h>
#include <sys/socket.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/mheard.h>
-#include <config.h>
-
#include "../pathnames.h"
struct PortRecord {