diff -Naur devtodo-0.1.20.orig/src/todoterm.cc devtodo-0.1.20/src/todoterm.cc --- devtodo-0.1.20.orig/src/todoterm.cc 2007-06-28 13:04:36.000000000 +0000 +++ devtodo-0.1.20/src/todoterm.cc 2009-07-03 00:44:15.000000000 +0000 @@ -2,6 +2,8 @@ #include "todoterm.h" #ifdef USETERMCAP +#include <cstdio> +#include <cstdlib> #include <iostream> #include <string> #include <stdexcept>