--- lib/sysdep/generic/unix/keyboard.c.orig Fri Apr 14 15:02:21 2000 +++ lib/sysdep/generic/unix/keyboard.c Tue Apr 18 00:15:50 2000 @@ -30,7 +30,11 @@ #endif #ifdef _CURSES_ +#if defined(__FreeBSD_version) && __FreeBSD_version < 400010 +#include +#else #include +#endif #ifdef HAVE_MOUSE MEVENT me; #endif