Browse Source

Bugfix: Fix TUI-only build

Luke Dashjr 12 years ago
parent
commit
9d77f7f304
1 changed files with 2 additions and 0 deletions
  1. 2 0
      miner.c

+ 2 - 0
miner.c

@@ -286,10 +286,12 @@ const
 #endif
 bool curses_active;
 
+#ifdef HAVE_CURSES
 #if !(defined(PDCURSES) || defined(NCURSES_VERSION))
 const
 #endif
 short default_bgcolor = COLOR_BLACK;
+#endif
 
 static
 #if defined(HAVE_CURSES) && defined(USE_UNICODE)