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:
@@ -32,9 +32,6 @@
|
||||
*/
|
||||
|
||||
#include "telnet_locl.h"
|
||||
#ifdef HAVE_TERMCAP_H
|
||||
#include <termcap.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user