summaryrefslogtreecommitdiff
path: root/www/w3m/files/extra-patch-terms.c.m17n
blob: d061e70c3b1ebadcc8ca1a1292be41a1f8b2a5de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- terms.c.orig        Sun Oct 22 00:46:08 2000
+++ terms.c     Sun Oct 22 01:23:53 2000
@@ -17,7 +17,13 @@
 #include <gpm.h>
 #endif                         /* USE_GPM */
 #ifdef USE_SYSMOUSE
+#include <osreldate.h>
+#if (__FreeBSD_version >= 400017)
+#include <sys/consio.h>
+#include <sys/fbio.h>
+#else
 #include <machine/console.h>
+#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;