--- termcap.c.dist 2003-07-02 16:35:41.000000000 +0200 +++ termcap.c 2003-07-02 16:35:50.000000000 +0200 @@ -20,6 +20,7 @@ #endif #ifdef TERMINFO #ifdef HAVE_TERM_H +#include <curses.h> #include <term.h> #endif #endif