14 lines
313 B
Plaintext
14 lines
313 B
Plaintext
fix for ports-gcc-4.9
|
|
todoterm.cc:18:38: error: 'getenv' was not declared in this scope
|
|
Index: src/todoterm.cc
|
|
--- src/todoterm.cc.orig
|
|
+++ src/todoterm.cc
|
|
@@ -7,6 +7,7 @@
|
|
#include <stdexcept>
|
|
#include <curses.h>
|
|
#include <term.h>
|
|
+#include <stdlib.h>
|
|
|
|
static char info[2048];
|
|
static bool term_initialized;
|