Index: frontend/brhist.c
===================================================================
RCS file: /cvsroot/lame/lame/frontend/brhist.c,v
retrieving revision 1.36
diff -u -u -r1.36 brhist.c
--- frontend/brhist.c	26 Mar 2001 00:38:15 -0000	1.36
+++ frontend/brhist.c	3 Sep 2002 11:38:10 -0000
@@ -54,6 +54,8 @@
 
 
 #if defined(HAVE_TERMCAP)
+#include <curses.h>
+#include <term.h>
 #if defined(HAVE_TERMCAP_H)
 # include <termcap.h>
 #elif defined(HAVE_NCURSES_TERMCAP_H)
Index: frontend/console.c
===================================================================
RCS file: /cvsroot/lame/lame/frontend/console.c,v
retrieving revision 1.4
diff -u -u -r1.4 console.c
--- frontend/console.c	15 Jan 2001 15:16:08 -0000	1.4
+++ frontend/console.c	3 Sep 2002 11:38:10 -0000
@@ -19,8 +19,14 @@
 
 #include "console.h"
 
-#if defined(TERMCAP_AVAILABLE)
+#if defined(HAVE_TERMCAP)
+#include <curses.h> 
+#include <term.h>
+#if defined(HAVE_TERMCAP_H)
 # include <termcap.h>
+#elif defined(HAVE_NCURSES_TERMCAP_H)
+# include <ncurses/termcap.h>
+#endif
 #endif
 
 #ifdef WITH_DMALLOC
