--- terms.c.orig Sun Oct 22 00:46:08 2000 +++ terms.c Sun Oct 22 01:23:53 2000 @@ -17,7 +17,13 @@ #include #endif /* USE_GPM */ #ifdef USE_SYSMOUSE +#include +#if (__FreeBSD_version >= 400017) +#include +#include +#else #include +#endif int (*sysm_handler) (int x, int y, int nbs, int obs); static int cwidth = 8, cheight = 16; static int xpix, ypix, nbs, obs = 0;