aboutsummaryrefslogtreecommitdiffstats
path: root/src/ncu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ncu.c')
-rw-r--r--src/ncu.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ncu.c b/src/ncu.c
index ed3c2273b..936e78aa5 100644
--- a/src/ncu.c
+++ b/src/ncu.c
@@ -17,7 +17,16 @@
*/
#include "ncu.h"
+
+#ifdef ENABLE_COLORS
#include "colors.h"
+#endif
+
+#ifdef HAVE_GETMOUSE
+#include "options.h"
+#endif
+
+#include <ncurses.h>
void
ncu_init(void)
@@ -26,7 +35,9 @@ ncu_init(void)
initscr();
/* initialize color support */
+#ifdef ENABLE_COLORS
colors_start();
+#endif
/* tell curses not to do NL->CR/NL on output */
nonl();