1664698e4d
figuring out whether to include <termcap.h> or <curses.h> and <term.h>.
16 lines
401 B
Text
16 lines
401 B
Text
$NetBSD: patch-ab,v 1.4 2008/03/05 18:30:59 jlam Exp $
|
|
|
|
--- src/todoterm.cc.orig 2007-06-28 09:04:36.000000000 -0400
|
|
+++ src/todoterm.cc
|
|
@@ -5,8 +5,9 @@
|
|
#include <iostream>
|
|
#include <string>
|
|
#include <stdexcept>
|
|
-#include <curses.h>
|
|
-#include <term.h>
|
|
+
|
|
+extern "C" int tgetent(char *, const char *);
|
|
+extern "C" int tgetnum(const char *);
|
|
|
|
static char info[2048];
|
|
static bool term_initialized;
|