--- ncurses/curses.priv.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- ncurses/curses.priv.h +++ ncurses/curses.priv.h 2017-05-30 07:21:41.456357778 +0000 @@ -1137,11 +1137,6 @@ struct screen { int _pair_count; /* same as COLOR_PAIRS */ int _pair_limit; /* actual limit of color-pairs */ #if NCURSES_EXT_FUNCS -#if USE_NEW_PAIR - void *_ordered_pairs; /* index used by alloc_pair() */ - int _pairs_used; /* actual number of color-pairs used */ - int _recent_pair; /* number for most recent free-pair */ -#endif bool _assumed_color; /* use assumed colors */ bool _default_color; /* use default colors */ bool _has_sgr_39_49; /* has ECMA default color support */ @@ -1295,6 +1290,11 @@ struct screen { /* * ncurses/ncursesw are the same up to this point. */ +#if USE_NEW_PAIR + void *_ordered_pairs; /* index used by alloc_pair() */ + int _pairs_used; /* actual number of color-pairs used */ + int _recent_pair; /* number for most recent free-pair */ +#endif #if USE_WIDEC_SUPPORT /* recent versions of 'screen' have partially-working support for * UTF-8, but do not permit ACS at the same time (see tty_update.c).