about summary refs log tree commit diff stats
path: root/src/LYOptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYOptions.c')
-rw-r--r--src/LYOptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LYOptions.c b/src/LYOptions.c
index c4ef236c..5ed6f5d7 100644
--- a/src/LYOptions.c
+++ b/src/LYOptions.c
@@ -2142,7 +2142,7 @@ PRIVATE int popup_choice ARGS6(
 #endif
     LYsubwindow(form_window);
 #endif
-#if defined(COLOR_CURSES)	/* not defined in ncurses 1.8.7 */
+#if defined(COLOR_CURSES) && defined(getbkgd) /* not defined in ncurses 1.8.7 */
     wbkgd(form_window, getbkgd(stdscr));
     wbkgdset(form_window, getbkgd(stdscr));
 #endif