summaryrefslogtreecommitdiff
path: root/net/SSLtelnet/files/patch-al
blob: 39ed9d90ef0506cb2d9228c68a729b688964cee4 (plain) (blame)
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
--- telnet/telnet.c.orig	Sat Oct 16 11:32:57 1999
+++ telnet/telnet.c	Sat Oct 16 11:34:05 1999
@@ -68,6 +68,7 @@
 #include "externs.h"
 #include "types.h"
 #include "general.h"
+#include <osreldate.h>
 
 
 #define	strip(x)	((x)&0x7f)
@@ -752,6 +753,7 @@
 
 #ifdef	TERMCAP
 char termbuf[1024];
+#if (__FreeBSD_version < 400011)
 
 	/*ARGSUSED*/
 	int
@@ -769,6 +771,7 @@
 		*errp = 0;
 	return(-1);
 }
+#endif
 #else
 #define	termbuf	ttytype
 extern char ttytype[];