--- minicom-2.2/configure.ncurses 2006-10-16 09:54:20.000000000 +0200 +++ minicom-2.2/configure 2007-03-08 19:01:21.000000000 +0100 @@ -6067,7 +6067,7 @@ LIBS="$LIBS $TERMLIBS" -if test "x$termlib" = xncurses; then +if test "x$termlib" = xncurses || test "x$termlib" = xtinfo; then for ac_header in ncurses/termcap.h do --- minicom-2.2/src/port.h.ncurses 2005-10-31 11:31:38.000000000 +0100 +++ minicom-2.2/src/port.h 2007-03-08 18:59:52.000000000 +0100 @@ -29,6 +29,8 @@ #endif #ifdef HAVE_TERMCAP_H # include +#elif defined (HAVE_NCURSES_TERMCAP_H) +# include #else char *tgetstr(void), *tgoto(void); int tgetent(void), tputs(void), tgetnum(void), tgetflag(void);