--- 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 #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[];