diff --git a/appl/telnet/telnetd/sys_term.c b/appl/telnet/telnetd/sys_term.c index 92a936de1..128b615ec 100644 --- a/appl/telnet/telnetd/sys_term.c +++ b/appl/telnet/telnetd/sys_term.c @@ -378,7 +378,7 @@ int getpty(int *ptynum) char *cp, *p1, *p2; int i; int dummy; -#ifdef HAVE_OPENPTY +#if 0 /* && defined(HAVE_OPENPTY) */ int master; int slave; if(openpty(&master, &slave, line, 0, 0) == 0){ @@ -1182,7 +1182,7 @@ int cleanopen(char *line) } #endif /* !defined(CRAY) || !defined(NEWINIT) */ -#if BSD <= 43 +#if !defined(BSD4_4) int login_tty(int t) {