From: Ezra Peisach Date: Wed, 16 Feb 2000 20:11:03 +0000 (+0000) Subject: Move include of libtelnet/auth.h earlier to provide X-Git-Tag: krb5-1.2-beta1~77 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=593f18fb5f6f513406215e4ed986f307d443c344;p=krb5.git 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 --- 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.