summaryrefslogtreecommitdiffstats
path: root/call
diff options
context:
space:
mode:
Diffstat (limited to 'call')
-rw-r--r--call/Makefile.in6
-rw-r--r--call/call.c5
-rw-r--r--call/yapp.c4
3 files changed, 14 insertions, 1 deletions
diff --git a/call/Makefile.in b/call/Makefile.in
index 979b9f8..e2708a3 100644
--- a/call/Makefile.in
+++ b/call/Makefile.in
@@ -280,6 +280,12 @@ distdir: $(DISTFILES)
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
+call.o: call.c ../config.h ../pathnames.h call.h crc.h menu.h
+crc.o: crc.c
+dostime.o: dostime.c
+menu.o: menu.c menu.h
+yapp.o: yapp.c ../config.h call.h
+
info-am:
info: info-am
dvi-am:
diff --git a/call/call.c b/call/call.c
index 6139990..902112c 100644
--- a/call/call.c
+++ b/call/call.c
@@ -16,6 +16,7 @@
message (VK2KTJ) */
/* 02.02.1997 removed NETROM_PACLEN setting to match Jonathon removing it
from kernel (VK2KTJ) */
+#include <config.h>
#include <sys/types.h>
#include <utime.h>
@@ -28,6 +29,9 @@
#include <signal.h>
#include <stdlib.h>
#include <string.h>
+#ifndef TM_IN_SYS_TIME
+#include <time.h>
+#endif
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>
@@ -57,7 +61,6 @@
#include <netax25/nrconfig.h>
#include <netax25/rsconfig.h>
-#include <config.h>
#include "../pathnames.h"
diff --git a/call/yapp.c b/call/yapp.c
index 3deb6d1..1868b9a 100644
--- a/call/yapp.c
+++ b/call/yapp.c
@@ -15,6 +15,9 @@
/*
* Yapp C and Resume support added by S N Henson.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <sys/types.h>
#include <stdio.h>
@@ -26,6 +29,7 @@
#include <signal.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>