summaryrefslogtreecommitdiffstats
path: root/ax25/mheardd.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-06-07 10:24:56 +0200
committerRalf Baechle <ralf@linux-mips.org>1999-06-07 10:24:56 +0200
commit1b4023134b5ff6342301c8135b11df46546d2828 (patch)
tree50dc64182994ea2c13ce23919fa75e64edd4d0f0 /ax25/mheardd.c
parent17287576555a5c46fa23549e2e5f073660dccb70 (diff)
Import ax25-tools 0.0.2 from tarballax25-tools-0.0.2
Diffstat (limited to 'ax25/mheardd.c')
-rw-r--r--ax25/mheardd.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/ax25/mheardd.c b/ax25/mheardd.c
index 2d98fad..a2b3b21 100644
--- a/ax25/mheardd.c
+++ b/ax25/mheardd.c
@@ -8,6 +8,8 @@
#include <errno.h>
#include <fcntl.h>
+#include <config.h>
+
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/param.h>
@@ -17,16 +19,22 @@
#include <net/ethernet.h>
#include <netinet/in.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>
#include <netax25/daemon.h>
#include <netax25/mheard.h>
-#include <config.h>
-
#include "../pathnames.h"
#define KISS_MASK 0x0F