Make Solaris find tgetent

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15181 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-05-19 11:22:53 +00:00
parent 15c3cd1ba3
commit a934d46ac0
2 changed files with 11 additions and 10 deletions

View File

@@ -32,9 +32,6 @@
*/
#include "telnet_locl.h"
#ifdef HAVE_TERMCAP_H
#include <termcap.h>
#endif
RCSID("$Id$");

View File

@@ -59,23 +59,27 @@
#include <unistd.h>
#endif
/* termios.h *must* be included before curses.h */
#ifdef HAVE_TERMIOS_H
/* termios.h *must* be included before curses.h, but not on Solaris 9,
at least, where we end up with
"/usr/include/term.h", line 1060: incomplete struct/union/enum termio: Ottyb
*/
#if defined HAVE_TERMIOS_H && !defined __sun
#include <termios.h>
#endif
#if defined(SOCKS) && defined(HAVE_CURSES_H)
#if defined(HAVE_CURSES_H)
#include <curses.h>
#ifdef HAVE_TERM_H
#include <term.h>
#endif
#elif defined(HAVE_TERMCAP_H)
#include <termcap.h>
#endif
#if defined(HAVE_SYS_TERMIO_H) && !defined(HAVE_TERMIOS_H)
#include <sys/termio.h>
#endif
#if defined(HAVE_TERMCAP_H)
#include <termcap.h>
#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif