1 --- dip-3.3.7o/skey/skeysubr.c.glibc Thu Jul 17 16:00:39 1997
2 +++ dip-3.3.7o/skey/skeysubr.c Thu Jul 17 16:00:39 1997
4 # define gtty(fd,buf) ioctl((fd),TIOCGETP,(buf))
7 +# include <sys/ioctl.h>
8 # define TTYSTRUCT termio
9 # define stty(fd,buf) ioctl((fd),TCSETA,(buf))
10 # define gtty(fd,buf) ioctl((fd),TCGETA,(buf))
11 --- dip-3.3.7o/skey/Makefile.glibc Mon Jul 24 20:22:49 1995
12 +++ dip-3.3.7o/skey/Makefile Thu Jul 17 16:03:17 1997
15 CFLAGS = -pipe -O2 #-DUSE_ECHO
16 #SYSLIBS = -lshadow -ldbm
17 -SYSLIBS = -ldbm # For ELF - no shadow needed (included in libc).
18 +SYSLIBS = -ldb -lcrypt # For ELF - no shadow needed (included in libc).
21 PROGS = key keyinit keysh
22 --- dip-3.3.7o/skey/skeyinit.c.glibc Thu Jul 17 16:00:39 1997
23 +++ dip-3.3.7o/skey/skeyinit.c Thu Jul 17 16:00:39 1997
33 #include <sys/resource.h>
35 --- dip-3.3.7o/skey/md4.c.glibc Thu Jul 17 16:02:37 1997
36 +++ dip-3.3.7o/skey/md4.c Thu Jul 17 16:02:47 1997
39 #include <sys/types.h>
41 +typedef unsigned int __u32;
45 * -- Include md4.h in your program
46 --- dip-3.3.7o/skey/put.c.glibc Thu Jul 17 16:02:58 1997
47 +++ dip-3.3.7o/skey/put.c Thu Jul 17 16:03:05 1997
49 #include <sys/types.h>
52 +typedef unsigned int __u32;
54 static __u32 extract __ARGS ((char *s, int start, int length));
55 static void standard __ARGS ((char *word));
56 static void insert __ARGS ((char *s, int x, int start, int length));
57 --- dip-3.3.7o/dip.h.glibc Thu Jul 17 16:00:39 1997
58 +++ dip-3.3.7o/dip.h Thu Jul 17 16:00:39 1997
60 #include <sys/socket.h>
61 #include <sys/ioctl.h>
63 +#include <netinet/in.h>
64 +#include <netinet/ip.h>
65 #include <arpa/inet.h>
66 #include <arpa/nameser.h>
67 -#include <netinet/in.h>
68 #include <net/if_arp.h>
71 --- dip-3.3.7o/command.c.glibc Thu Jul 17 16:00:39 1997
72 +++ dip-3.3.7o/command.c Thu Jul 17 16:06:32 1997
74 * your option) any later version.
77 -#include <linux/types.h>
78 -#include <linux/ip.h>
79 -#include <linux/udp.h>
80 +#include <netinet/ip.h>
81 +#include <netinet/udp.h>
84 +typedef unsigned int __u32;
85 +typedef unsigned short __u16;
91 nargv = malloc (argc*sizeof(char*)); /* allocate the array of pointers */
92 if (nargv == NULL) /* Ooops? */
94 - fprintf (stderr, "error: Couldn't allocate %d bytes for" /* Ooops! */
95 + fprintf (stderr, "error: Couldn't allocate %ld bytes for" /* Ooops! */
96 " onexit commands array: `%s'\n",
97 argc*sizeof(char*), strerror (errno) );
100 nargv[cnt] = malloc (strlen(argv[cnt]) + 1); /* allocate */
101 if (nargv[cnt] == NULL) /* Oops? */
103 - fprintf (stderr, "error: Couldn't allocate %d bytes for argument %d"
104 + fprintf (stderr, "error: Couldn't allocate %ld bytes for argument %d"
105 " of the onexit command: `%s'\n",
106 strlen (argv[cnt]), cnt, strerror (errno) );
107 arg_clean (argc, nargv); /* clean */
108 --- dip-3.3.7o/tty.c.glibc Thu Jul 17 16:03:48 1997
109 +++ dip-3.3.7o/tty.c Thu Jul 17 16:03:56 1997
112 #include <sys/stat.h>
114 -# include <linux/fs.h>
115 -# include <linux/tty.h>
117 # include <linux/serial.h> /* for Linux-1.1.13 */
118 #endif /* ~NO_SERIAL */
119 --- dip-3.3.7o/attach.c.glibc Thu Jul 17 16:04:32 1997
120 +++ dip-3.3.7o/attach.c Thu Jul 17 16:05:12 1997
121 @@ -130,10 +130,12 @@
123 #include <sys/socket.h>
125 -#include <linux/route.h>
126 -#include <linux/if_ether.h>
127 +#include <net/route.h>
128 +#include <netinet/if_ether.h>
129 #include <netinet/in.h>
132 +typedef unsigned int __u32;