From 593f18fb5f6f513406215e4ed986f307d443c344 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 16 Feb 2000 20:11:03 +0000 Subject: [PATCH] Move include of libtelnet/auth.h earlier to provide prototype for auth_cmd() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12046 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/telnet/ChangeLog | 5 +++++ src/appl/telnet/telnet/commands.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/appl/telnet/telnet/ChangeLog b/src/appl/telnet/telnet/ChangeLog index 4338cc437..512efd5ef 100644 --- a/src/appl/telnet/telnet/ChangeLog +++ b/src/appl/telnet/telnet/ChangeLog @@ -1,3 +1,8 @@ +2000-02-16 Ezra Peisach + + * commands.c: Move include of libtelnet/auth.h earlier to provide + prototype for auth_cmd. + 1999-10-26 Tom Yu * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, diff --git a/src/appl/telnet/telnet/commands.c b/src/appl/telnet/telnet/commands.c index c23e199cc..2c80b0b25 100644 --- a/src/appl/telnet/telnet/commands.c +++ b/src/appl/telnet/telnet/commands.c @@ -76,6 +76,11 @@ #include "defines.h" #include "types.h" +#if defined(AUTHENTICATION) || defined(FORWARD) +#include +#endif + + #if !defined(CRAY) && !defined(sysV88) #include # if (defined(vax) || defined(tahoe) || defined(hp300)) && !defined(ultrix) @@ -2132,7 +2137,6 @@ encrypt_cmd(argc, argv) #endif /* ENCRYPTION */ #if defined(FORWARD) -#include /* * The FORWARD command. -- 2.26.2