]> git.tue.mpg.de Git - paraslash.git/commitdiff
fade.c: Don't include curses.h.
authorAndre Noll <maan@systemlinux.org>
Thu, 10 Jan 2008 09:48:44 +0000 (10:48 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 10 Jan 2008 09:48:44 +0000 (10:48 +0100)
para_fade does not depend on curses. Including curses.h leads to an
error at compile time on linux if the curses headers are not installed.

Thanks to Johannes Wörner for reporting.

fade.c

diff --git a/fade.c b/fade.c
index 95fcba2cf79d5e85422328bda03a23916afd1fa3..3e8479a0eb7783db1af51edef03693e0c369b8a8 100644 (file)
--- a/fade.c
+++ b/fade.c
@@ -15,7 +15,6 @@
 
 #include <stropts.h>
 #include <ctype.h>
-#include <curses.h>
 #include <stdlib.h> /* EXIT_SUCCESS */
 #include <unistd.h>
 #include <signal.h>