Make curses.h inclusion conditional as in the original patch #1012280.
Backported to 2.3.
2 files changed