fe186e5
Prevent an incompatible declaration for setupterm(), declared for curses
fe186e5
in <term.h>, from being used when we're building with termcap.
fe186e5
fe186e5
--- krb5/src/appl/telnet/telnet/telnet.c	2005-03-15 19:26:12.676150256 -0500
fe186e5
+++ krb5/src/appl/telnet/telnet/telnet.c	2005-03-15 19:26:07.382841519 -0500
fe186e5
@@ -52,9 +52,13 @@
fe186e5
 #include <curses.h>
d46e1d6
 #endif
fe186e5
 
fe186e5
+#ifndef TERMCAP
fe186e5
 #ifdef HAVE_TERM_H
fe186e5
 #include <term.h>
fe186e5
 #endif
fe186e5
+#else
fe186e5
+#include <termcap.h>
fe186e5
+#endif
fe186e5
 
fe186e5
 #include <arpa/telnet.h>
fe186e5