diff options
Diffstat (limited to 'src/LYOptions.c')
-rw-r--r-- | src/LYOptions.c | 2 |
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 |