summaryrefslogtreecommitdiffstats
path: root/ax25/axctl.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/axctl.c
parent17287576555a5c46fa23549e2e5f073660dccb70 (diff)
Import ax25-tools 0.0.2 from tarballax25-tools-0.0.2
Diffstat (limited to 'ax25/axctl.c')
-rw-r--r--ax25/axctl.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/ax25/axctl.c b/ax25/axctl.c
index 84422fd..3d7c780 100644
--- a/ax25/axctl.c
+++ b/ax25/axctl.c
@@ -5,19 +5,27 @@
#include <unistd.h>
#include <pwd.h>
+#include <config.h>
+
#include <sys/types.h>
#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_NETROSE_ROSE_H
+#include <netrose/rose.h>
+#else
#include <netrose/rose.h>
+#endif
#include <netax25/axlib.h>
#include <netax25/axconfig.h>
-#include <config.h>
-
int main(int argc, char **argv)
{
struct ax25_ctl_struct ax25_ctl;