--- biewlib/sysdep/generic/unix/keyboard.c.orig Mon Apr 29 15:26:59 2002 +++ biewlib/sysdep/generic/unix/keyboard.c Mon Apr 29 15:28:12 2002 @@ -41,7 +41,11 @@ #endif #ifdef _CURSES_ +#if defined(__FreeBSD_version) && __FreeBSD_version < 400010 +#include +#else #include +#endif #if defined(NCURSES_MOUSE_VERSION) && !defined(HAVE_MOUSE) #define HAVE_MOUSE #endif