Fix build for !curses
diff --git a/cgminer.c b/cgminer.c
index f1ce103..63e0dc2 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2220,6 +2220,10 @@ void wlogprint(const char *f, ...)
unlock_curses();
}
}
+#else
+static void switch_logsize(void)
+{
+}
#endif
#ifdef HAVE_CURSES