$NetBSD: patch-ba,v 1.4 2010/11/27 07:21:27 obache Exp $ --- Src/Modules/termcap.c.orig 2007-08-22 16:23:50.000000000 +0000 +++ Src/Modules/termcap.c @@ -36,7 +36,7 @@ #include "../../config.h" #ifdef HAVE_TGETENT -# if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H) +# if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H) && !defined(__NetBSD__) # define USES_TERM_H 1 # else # ifdef HAVE_TERMCAP_H