summaryrefslogtreecommitdiffstats
path: root/ax25/ax25d.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/ax25d.c
parent17287576555a5c46fa23549e2e5f073660dccb70 (diff)
Import ax25-tools 0.0.2 from tarballax25-tools-0.0.2
Diffstat (limited to 'ax25/ax25d.c')
-rw-r--r--ax25/ax25d.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/ax25/ax25d.c b/ax25/ax25d.c
index 8d45713..86d3895 100644
--- a/ax25/ax25d.c
+++ b/ax25/ax25d.c
@@ -113,6 +113,8 @@
#include <syslog.h>
#include <errno.h>
+#include <config.h>
+
#include <sys/time.h>
#include <sys/types.h>
#include <sys/fcntl.h>
@@ -121,9 +123,21 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
+#ifdef HAVE_NETAX25_AX25_H
#include <netax25/ax25.h>
+#else
+#include <netax25/kernel_ax25.h>
+#endif
+#ifdef HAVE_NETROM_NETROM_H
#include <netrom/netrom.h>
+#else
+#include <netax25/kernel_netrom.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>
@@ -131,7 +145,6 @@
#include <netax25/rsconfig.h>
#include <netax25/daemon.h>
-#include <config.h>
#include "../pathnames.h"