diff -u -r ax25-utils-2.0.12c.orig/ax25/Makefile ax25-utils-2.0.12c/ax25/Makefile --- ax25-utils-2.0.12c.orig/ax25/Makefile Tue Dec 24 11:58:04 1996 +++ ax25-utils-2.0.12c/ax25/Makefile Tue Apr 22 11:21:11 1997 @@ -5,6 +5,7 @@ CFLAGS = -Wall -Wstrict-prototypes -O2 -I../lib LDFLAGS = -L../lib LIBS = -lax25 +ADDLIBS = -lutil .c.o: $(CC) $(CFLAGS) -c $< @@ -64,7 +65,7 @@ $(LD) $(LDFLAGS) -o axparms axparms.o $(LIBS) axspawn: axspawn.o - $(CC) $(LDFLAGS) -o axspawn axspawn.o $(LIBS) -lbsd + $(CC) $(LDFLAGS) -o axspawn axspawn.o $(LIBS) $(ADDLIBS) -lbsd beacon: beacon.o $(LD) $(LDFLAGS) -o beacon beacon.o $(LIBS) diff -u -r ax25-utils-2.0.12c.orig/ax25rtd/ax25rtd.h ax25-utils-2.0.12c/ax25rtd/ax25rtd.h --- ax25-utils-2.0.12c.orig/ax25rtd/ax25rtd.h Fri Dec 6 12:46:12 1996 +++ ax25-utils-2.0.12c/ax25rtd/ax25rtd.h Tue Apr 22 12:02:31 1997 @@ -17,6 +17,10 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ + +#ifdef __alpha__ +#include +#endif /* Defines for defaults */ diff -u -r ax25-utils-2.0.12c.orig/ax25rtd/listener.c ax25-utils-2.0.12c/ax25rtd/listener.c --- ax25-utils-2.0.12c.orig/ax25rtd/listener.c Fri Dec 6 12:46:12 1996 +++ ax25-utils-2.0.12c/ax25rtd/listener.c Tue Apr 22 12:03:07 1997 @@ -25,8 +25,12 @@ #include #include #include +#include #include #include +#ifdef __alpha__ +#include +#endif #include #include #include diff -u -r ax25-utils-2.0.12c.orig/kiss/mkiss.c ax25-utils-2.0.12c/kiss/mkiss.c --- ax25-utils-2.0.12c.orig/kiss/mkiss.c Wed Sep 4 13:09:12 1996 +++ ax25-utils-2.0.12c/kiss/mkiss.c Tue Apr 22 11:44:54 1997 @@ -41,6 +41,7 @@ #include #include #include +#include #include "ttyutils.h" #include "daemon.h" diff -u -r ax25-utils-2.0.12c.orig/lib/config.h.in ax25-utils-2.0.12c/lib/config.h.in --- ax25-utils-2.0.12c.orig/lib/config.h.in Fri Dec 6 12:49:54 1996 +++ ax25-utils-2.0.12c/lib/config.h.in Tue Apr 22 11:55:02 1997 @@ -8,6 +8,10 @@ #ifndef CONFIG_H #define CONFIG_H +#ifdef __alpha__ +#include +#endif + /* * The /proc filesystem entries */ diff -u -r ax25-utils-2.0.12c.orig/lib/daemon.c ax25-utils-2.0.12c/lib/daemon.c --- ax25-utils-2.0.12c.orig/lib/daemon.c Wed Sep 4 13:09:12 1996 +++ ax25-utils-2.0.12c/lib/daemon.c Tue Apr 22 11:16:31 1997 @@ -55,7 +55,7 @@ umask(0); if (ignsigcld) - signal(SIGCLD, SIG_IGN); + signal(SIGCHLD, SIG_IGN); /* That's it, we're a "daemon" process now */ return 1; diff -u -r ax25-utils-2.0.12c.orig/listen/ax25dump.c ax25-utils-2.0.12c/listen/ax25dump.c --- ax25-utils-2.0.12c.orig/listen/ax25dump.c Sun Dec 8 09:53:43 1996 +++ ax25-utils-2.0.12c/listen/ax25dump.c Tue Apr 22 11:59:55 1997 @@ -5,6 +5,7 @@ */ #include #include +#include #include "listen.h" #define LAPB_UNKNOWN 0 diff -u -r ax25-utils-2.0.12c.orig/listen/nrdump.c ax25-utils-2.0.12c/listen/nrdump.c --- ax25-utils-2.0.12c.orig/listen/nrdump.c Mon Dec 23 10:39:00 1996 +++ ax25-utils-2.0.12c/listen/nrdump.c Tue Apr 22 11:57:24 1997 @@ -4,6 +4,7 @@ * Copyright 1991 Phil Karn, KA9Q */ #include +#include #include "listen.h" #define AXLEN 7 diff -u -r ax25-utils-2.0.12c.orig/netrom/nodesave.c ax25-utils-2.0.12c/netrom/nodesave.c --- ax25-utils-2.0.12c.orig/netrom/nodesave.c Fri Dec 6 12:26:32 1996 +++ ax25-utils-2.0.12c/netrom/nodesave.c Tue Apr 22 11:46:15 1997 @@ -4,6 +4,7 @@ #include #include #include +#include #include diff -u -r ax25-utils-2.0.12c.orig/node/io.c ax25-utils-2.0.12c/node/io.c --- ax25-utils-2.0.12c.orig/node/io.c Wed Sep 4 13:09:12 1996 +++ ax25-utils-2.0.12c/node/io.c Tue Apr 22 12:12:29 1997 @@ -26,6 +26,7 @@ #include #include #include +#include #include "io.h" diff -u -r ax25-utils-2.0.12c.orig/node/node.c ax25-utils-2.0.12c/node/node.c --- ax25-utils-2.0.12c.orig/node/node.c Wed Sep 4 13:09:12 1996 +++ ax25-utils-2.0.12c/node/node.c Tue Apr 22 12:10:52 1997 @@ -10,6 +10,7 @@ #include #include #include +#include #include "node.h" #include "io.h" diff -u -r ax25-utils-2.0.12c.orig/node/node.h ax25-utils-2.0.12c/node/node.h --- ax25-utils-2.0.12c.orig/node/node.h Wed Sep 4 13:09:12 1996 +++ ax25-utils-2.0.12c/node/node.h Tue Apr 22 11:47:13 1997 @@ -16,6 +16,10 @@ #define PERM_TELNET (PERM_TELNET_LOCAL & PERM_TELNET_AMPR & PERM_TELNET_INET) +#ifdef __alpha__ +#include +#endif + struct user { int pid;