mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
c387f20bac
Ifdef it. Submitted by: nobutaka@nobutaka.com
17 lines
477 B
Plaintext
17 lines
477 B
Plaintext
--- 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;
|