$NetBSD: patch-ba,v 1.3 2010/03/10 08:19:57 roy Exp $

--- Src/Modules/termcap.c.orig	2010-03-10 07:58:25.000000000 +0000
+++ Src/Modules/termcap.c	2010-03-10 07:58:35.000000000 +0000
@@ -55,14 +55,12 @@
 #  ifdef HAVE_TERMIO_H
 #   include <termio.h>
 #  endif
-#  ifdef TERM_H_NEEDS_CURSES_H
-#   include <curses.h>
-#  endif
-#  include <term.h>
-# else
-#  ifdef USES_TERMCAP_H
-#   include <termcap.h>
-#  endif
+# endif
+# ifdef TERM_H_NEEDS_CURSES_H
+#  include <curses.h>
+# endif
+# ifdef HAVE_TERMCAP_H
+#  include <termcap.h>
 # endif
 
 static Param termcap_pm;
