The include file machine/console.h has been deprecated on -current.

Ifdef it.

Submitted by:	nobutaka@nobutaka.com
This commit is contained in:
Daniel C. Sobral 2000-10-21 20:42:59 +00:00
parent 11197eb4a2
commit c387f20bac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34086

16
www/w3m/files/patch-au Normal file
View file

@ -0,0 +1,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;