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 /ax25rtd/ax25rtd.c | |
parent | aa112083f850e1b6c5c6ed9c9e59a568ff66a000 (diff) |
Import ax25-apps 0.0.3 from tarballax25-apps-0.0.3
Diffstat (limited to 'ax25rtd/ax25rtd.c')
-rw-r--r-- | ax25rtd/ax25rtd.c | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/ax25rtd/ax25rtd.c b/ax25rtd/ax25rtd.c index 0fdbb39..22ffeb9 100644 --- a/ax25rtd/ax25rtd.c +++ b/ax25rtd/ax25rtd.c @@ -1,4 +1,4 @@ -/* $Id: ax25rtd.c,v 1.6 1996/10/23 18:27:43 jreuter Exp jreuter $ +/* $Id: ax25rtd.c,v 1.7 1996/10/23 18:27:43 jreuter Exp jreuter $ * * Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com) * @@ -35,19 +35,33 @@ #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> +#include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> -#include <sys/socket.h> +#ifdef __GLIBC__ #include <net/ethernet.h> +#else +#include <linux/if_ether.h> +#endif + +#include <config.h> +#ifdef HAVE_NETAX25_AX25_H #include <netax25/ax25.h> -#include <netax25/axconfig.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/axconfig.h> #include <netax25/axlib.h> #include "../pathnames.h" #include "ax25rtd.h" -const char *Version = "ax25rtd $Revision: 1.6 $"; +const char *Version = "ax25rtd $Revision: 1.7 $"; config *Config = NULL; int reload = 0; |