%%% Created Sat Mar 20 12:41:02 MST 2004 by target lynx.patch. %%% diff -bru orig/lynx2-8-5/src/LYCurses.c lynx2-8-5/src/LYCurses.c --- orig/lynx2-8-5/src/LYCurses.c Mon Feb 2 13:02:28 2004 +++ lynx2-8-5/src/LYCurses.c Sat Mar 20 12:32:21 2004 @@ -2701,7 +2701,7 @@ */ PUBLIC long LYgetattrs ARGS1(WINDOW *, win) { -#if (defined(NCURSES_VERSION_MAJOR) && NCURSES_VERSION_MAJOR < 5) || !defined(NCURSES_MAJOR_VERSION) +#if (defined(HAVE_GETATTR)) long result = 0; result = getattrs(win); #else