diff options
| author | Thomas Gellekum <tg@FreeBSD.org> | 2001-07-26 11:09:15 +0000 |
|---|---|---|
| committer | Thomas Gellekum <tg@FreeBSD.org> | 2001-07-26 11:09:15 +0000 |
| commit | a0e4393eafdf04d90af96774be65b9c79488a0cb (patch) | |
| tree | d52b137c48c2896db44e73e56f0f34d446965eea /usr.bin | |
| parent | 090f957012655e8ebd5a5a267cb041b133a87a6d (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/doscmd/tty.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/doscmd/tty.c b/usr.bin/doscmd/tty.c index 6427b109da59..f6b94492eba3 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 |
