$NetBSD: patch-ba,v 1.3 2010/03/10 08:19:57 roy 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
