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 95fcba2..3e8479a 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>