summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch
blob: 77919e11bb5fffc5e6ca7366ab28b5e5ba29a930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -Naur netkit-telnet-0.17-orig/telnet/proto.h netkit-telnet-0.17/telnet/proto.h
--- netkit-telnet-0.17-orig/telnet/proto.h	1997-05-19 09:32:36.000000000 +0000
+++ netkit-telnet-0.17/telnet/proto.h	2002-09-05 01:17:24.000000000 +0000
@@ -3,6 +3,9 @@
 void auth_encrypt_init(void);
 #endif
 
+#include <stdlib.h>
+#include <string.h>
+
 void Exit(int);
 void ExitString(const char *, int);
 int TerminalAutoFlush(void);
diff -Naur netkit-telnet-0.17-orig/telnetd/telnetd.h netkit-telnet-0.17/telnetd/telnetd.h
--- netkit-telnet-0.17-orig/telnetd/telnetd.h	1999-03-27 07:46:21.000000000 +0000
+++ netkit-telnet-0.17/telnetd/telnetd.h	2002-09-05 01:17:34.000000000 +0000
@@ -38,6 +38,7 @@
 #include "defs.h"
 #include "ext.h"
 #include <errno.h>
+#include <stdlib.h>
 
 #ifdef	DIAGNOSTICS
 #define	DIAG(a,b)	if (diagnostic & (a)) b
diff -Naur netkit-telnet-0.17-orig/configure netkit-telnet-0.17/configure
--- netkit-telnet-0.17-orig/configure	2003-11-04 13:10:07.000000000 -0500
+++ netkit-telnet-0.17/configure	2003-11-04 13:10:49.000000000 -0500
@@ -252,7 +252,7 @@
 fi
 
 
-LDFLAGS=
+LDFLAGS=-lstdc++
 LIBS=
 
 rm -f __conftest*