diff options
Diffstat (limited to 'src/LYForms.c')
-rw-r--r-- | src/LYForms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LYForms.c b/src/LYForms.c index e48a6ca8..85eb44d8 100644 --- a/src/LYForms.c +++ b/src/LYForms.c @@ -682,7 +682,7 @@ PRIVATE int popup_options ARGS7( #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 |