Bump libcurses major.
Add some needed function prototypes.