tags 561156 + patch thanks
--- tn5250-0.17.4/curses/cursesterm.h.orig 2009-12-14 15:55:38.377894455 -0700 +++ tn5250-0.17.4/curses/cursesterm.h 2009-12-14 15:57:18.160234499 -0700 @@ -26,6 +26,8 @@ extern "C" { #endif +#include <term.h> + #if USE_CURSES #ifdef HAVE_NCURSES_H #include <ncurses.h>