From 28280a70d9880c21efdff840246163a1b8e06a94 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 10 Aug 1999 05:46:32 +0200 Subject: Import ax25-apps 0.0.3 from tarball --- call/call.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'call') 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 #include +#ifdef HAVE_NETAX25_AX25_H #include +#else +#include +#endif +#ifdef HAVE_NETROM_NETROM_H #include +#else +#include +#endif +#ifdef HAVE_NETROSE_ROSE_H #include +#else +#include +#endif #include #include @@ -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); } -- cgit v1.2.3