Move include of libtelnet/auth.h earlier to provide
authorEzra Peisach <epeisach@mit.edu>
Wed, 16 Feb 2000 20:11:03 +0000 (20:11 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 16 Feb 2000 20:11:03 +0000 (20:11 +0000)
prototype for auth_cmd()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12046 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnet/ChangeLog
src/appl/telnet/telnet/commands.c

index 4338cc4379ec110e52ab8ba315224eb7e8037421..512efd5efa2f07b5aef2a6dfa5eef777aebbdd38 100644 (file)
@@ -1,3 +1,8 @@
+2000-02-16  Ezra Peisach  <epeisach@mit.edu>
+
+       * commands.c: Move include of libtelnet/auth.h earlier to provide
+       prototype for auth_cmd.
+
 1999-10-26  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
index c23e199cce1c6749803439004fcfb2ad15944947..2c80b0b25dea3aa577c641915ee4efdec867f180 100644 (file)
 #include "defines.h"
 #include "types.h"
 
+#if defined(AUTHENTICATION) || defined(FORWARD)
+#include <libtelnet/auth.h>
+#endif
+
+
 #if !defined(CRAY) && !defined(sysV88)
 #include <netinet/in_systm.h>
 # if (defined(vax) || defined(tahoe) || defined(hp300)) && !defined(ultrix)
@@ -2132,7 +2137,6 @@ encrypt_cmd(argc, argv)
 #endif /* ENCRYPTION */
 
 #if    defined(FORWARD)
-#include <libtelnet/auth.h>
 
 /*
  * The FORWARD command.