diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-08-10 05:46:32 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-08-10 05:46:32 +0200 |
commit | 28280a70d9880c21efdff840246163a1b8e06a94 (patch) | |
tree | d95973ea267c755f349998bd9f8fd5706b334943 /call | |
parent | aa112083f850e1b6c5c6ed9c9e59a568ff66a000 (diff) |
Import ax25-apps 0.0.3 from tarballax25-apps-0.0.3
Diffstat (limited to 'call')
-rw-r--r-- | call/call.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/call/call.c b/call/call.c index aed1aa5..e82bfea 100644 --- a/call/call.c +++ b/call/call.c @@ -36,9 +36,21 @@ #include <unistd.h> #include <curses.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> @@ -301,7 +313,7 @@ static int connect_to(char *address[]) break; case AF_AX25: - if (ax25_aton_arglist(address, &sockaddr.ax25) == -1) { + if (ax25_aton_arglist((const char**)address, &sockaddr.ax25) == -1) { close(fd); return (-1); } |