diff options
author | tg <tg@FreeBSD.org> | 2001-07-26 11:09:15 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-07-26 11:09:15 +0000 |
commit | 47f11fa9b11930a8ad9598fd5ac1f1d49604be46 (patch) | |
tree | d52b137c48c2896db44e73e56f0f34d446965eea | |
parent | 6767a338a4a5c26319caebf2353bcce82cb6f93a (diff) | |
download | FreeBSD-src-47f11fa9b11930a8ad9598fd5ac1f1d49604be46.zip FreeBSD-src-47f11fa9b11930a8ad9598fd5ac1f1d49604be46.tar.gz |
Include <sys/kbio.h> or <machine/console.h>, depending on __FreeBSD_version.
This will reduce diffs to -STABLE.
Don't leave an image of the video RAM around.
-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 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 |