From 73ee5682ebb4865da9ba397b95bb81cf6ce073a6 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Thu, 13 May 2021 14:30:23 -0400 Subject: remote_cmds: use libiosexec --- remote_cmds/telnetd.tproj/Makefile | 2 +- remote_cmds/telnetd.tproj/sys_term.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'remote_cmds/telnetd.tproj') diff --git a/remote_cmds/telnetd.tproj/Makefile b/remote_cmds/telnetd.tproj/Makefile index 56c7640..8060160 100644 --- a/remote_cmds/telnetd.tproj/Makefile +++ b/remote_cmds/telnetd.tproj/Makefile @@ -9,7 +9,7 @@ BINDIR=/usr/libexec CFLAGS+= -DNO_UTMP -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO \ -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -DINET6 \ -I${.CURDIR}/../../lib -LDADD=-lncursesw +LDADD=-lncursesw -liosexec .PATH: ${.CURDIR}/../../lib/libtelnet diff --git a/remote_cmds/telnetd.tproj/sys_term.c b/remote_cmds/telnetd.tproj/sys_term.c index d47d541..84b94ca 100644 --- a/remote_cmds/telnetd.tproj/sys_term.c +++ b/remote_cmds/telnetd.tproj/sys_term.c @@ -58,6 +58,8 @@ __FBSDID("$FreeBSD: src/contrib/telnet/telnetd/sys_term.c,v 1.18 2003/05/04 02:5 #include #endif +#include + int cleanopen(char *); void scrub_env(void); -- cgit v1.2.3-56-ge451