From 399002baa4661a8191170cba6385cbf9aba9d1c0 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 26 Nov 2009 09:19:05 +0000 Subject: Despite terminfo being in use for around 20 years, NetBSD still haven't got their act together, so add an ifdef to use ncurses.h instead of curses.h. Untested. --- tty-term.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tty-term.c') diff --git a/tty-term.c b/tty-term.c index 53f63aa3..596b293a 100644 --- a/tty-term.c +++ b/tty-term.c @@ -1,4 +1,4 @@ -/* $Id: tty-term.c,v 1.36 2009-11-13 16:57:21 tcunha Exp $ */ +/* $Id: tty-term.c,v 1.37 2009-11-26 09:19:05 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -18,12 +18,17 @@ #include -#include #include #include #include #include +#ifdef HAVE_BROKEN_CURSES_H +#include +#else +#include +#endif + #include "tmux.h" void tty_term_override(struct tty_term *, const char *); -- cgit