added missing curses.h include