summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/doscmd/tty.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/doscmd/tty.c b/usr.bin/doscmd/tty.c
index 6427b10..f6b9449 100644
--- a/usr.bin/doscmd/tty.c
+++ b/usr.bin/doscmd/tty.c
@@ -46,7 +46,12 @@
#include <termios.h>
#include <unistd.h>
#ifdef __FreeBSD__
-# include <sys/kbio.h>
+# include <osreldate.h>
+# if __FreeBSD_version >= 500014
+# include <sys/kbio.h>
+# else
+# include <machine/console.h>
+# endif
#else
# ifdef __NetBSD__
# include "machine/pccons.h"
@@ -2109,9 +2114,11 @@ init_window()
prepare_lut();
+#if 0
/* While we are developing the graphics code ... */
call_on_quit(write_vram, NULL);
#endif
+#endif
}
void
OpenPOWER on IntegriCloud