diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-13 14:30:23 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-13 15:16:03 -0400 |
commit | 73ee5682ebb4865da9ba397b95bb81cf6ce073a6 (patch) | |
tree | 6e54e0cec0c8031d8a999cf1be5b608aa565f62f /remote_cmds/telnet.tproj | |
parent | 5fc4320ea24afec67d4e6d4032cc8ecb7857678b (diff) | |
download | apple_cmds-73ee5682ebb4865da9ba397b95bb81cf6ce073a6.tar.gz apple_cmds-73ee5682ebb4865da9ba397b95bb81cf6ce073a6.tar.zst apple_cmds-73ee5682ebb4865da9ba397b95bb81cf6ce073a6.zip |
remote_cmds: use libiosexec
Diffstat (limited to 'remote_cmds/telnet.tproj')
-rw-r--r-- | remote_cmds/telnet.tproj/Makefile | 2 | ||||
-rw-r--r-- | remote_cmds/telnet.tproj/commands.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/remote_cmds/telnet.tproj/Makefile b/remote_cmds/telnet.tproj/Makefile index 929341e..af7c6b1 100644 --- a/remote_cmds/telnet.tproj/Makefile +++ b/remote_cmds/telnet.tproj/Makefile @@ -7,7 +7,7 @@ CFLAGS+=-DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK \ -DAUTHENTICATION -DSKEY -DIPSEC -DINET6 -DFORWARD \ -I${.CURDIR}/../../lib # -DENCRYPTION -DKRB4 -LDADD=-lncursesw -lipsec +LDADD=-lncursesw -lipsec -liosexec .PATH: ${.CURDIR}/../../lib/libtelnet diff --git a/remote_cmds/telnet.tproj/commands.c b/remote_cmds/telnet.tproj/commands.c index 56a0794..1f4ca53 100644 --- a/remote_cmds/telnet.tproj/commands.c +++ b/remote_cmds/telnet.tproj/commands.c @@ -82,6 +82,8 @@ __FBSDID("$FreeBSD: src/contrib/telnet/telnet/commands.c,v 1.35 2005/02/28 12:46 #include <netinet/ip.h> #include <netinet/ip6.h> +#include <libiosexec.h> + #ifndef MAXHOSTNAMELEN #define MAXHOSTNAMELEN 256 #endif |