#include <curses.h>
#include "extern.h"
#define NCURSES_INTERNALS
#if defined(HAVE_SYS_TYPES)
#include <sys/types.h>
#endif