summaryrefslogtreecommitdiffstats
path: root/ax25rtd/listener.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-04-17 00:37:49 +0200
committerRalf Baechle <ralf@linux-mips.org>2001-04-17 00:37:49 +0200
commite602d606806bf37aca8ebb19b32cfa35bc03efc7 (patch)
treef0e9b4de42155169cc29ea70346f1c28e2719cd6 /ax25rtd/listener.c
parent628edceba5f1485ef7c4ef30fba93b4c0c0dd955 (diff)
Import ax25-apps 0.0.5 from tarballax25-apps-0.0.5
Diffstat (limited to 'ax25rtd/listener.c')
-rw-r--r--ax25rtd/listener.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/ax25rtd/listener.c b/ax25rtd/listener.c
index bd6b7ad..0cb7fe8 100644
--- a/ax25rtd/listener.c
+++ b/ax25rtd/listener.c
@@ -1,4 +1,4 @@
-/* $Id: listener.c,v 1.1 2001/04/10 01:58:42 csmall Exp $
+/* $Id: listener.c,v 1.1.1.1 2001/04/10 01:58:42 csmall Exp $
*
* Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com)
*
@@ -21,19 +21,24 @@
/* TODO: Should add partial path to ax25_route if we are one of the
* digipeaters.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <sys/ioctl.h>
+#ifdef TIME_WITH_SYS_TIME
+#include <time.h>
+#endif
#include <sys/time.h>
#include <netinet/in.h>
#include <net/route.h>
#include <net/if.h>
#include <net/if_arp.h>
-#include <config.h>
#ifdef HAVE_NETAX25_AX25_H
#include <netax25/ax25.h>
#else