summaryrefslogtreecommitdiff
path: root/time/devtodo/patches/patch-ab
blob: 7e649ce3236c76256c4a6c546588a18057e10bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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;