diff options
author | markm <markm@FreeBSD.org> | 1995-11-12 17:02:45 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1995-11-12 17:02:45 +0000 |
commit | a01aa9429168245f1480fadaa22f17c436e9cf79 (patch) | |
tree | 8c810f5e24a4600a1911c1857fefbf7c28e64a49 /sys/i386/isa/pcvt/pcvt_hdr.h | |
parent | 813c396d87b382adbe74b412e354966d7d7b8eee (diff) | |
download | FreeBSD-src-a01aa9429168245f1480fadaa22f17c436e9cf79.zip FreeBSD-src-a01aa9429168245f1480fadaa22f17c436e9cf79.tar.gz |
Add /dev/random hooks to the key input routines for pcvt. This allows
the scancodes on a PCVT machine to be used as stochastic input as well
as SysCons..
Reviewed by: Joerg Wunsch
Diffstat (limited to 'sys/i386/isa/pcvt/pcvt_hdr.h')
-rw-r--r-- | sys/i386/isa/pcvt/pcvt_hdr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_hdr.h b/sys/i386/isa/pcvt/pcvt_hdr.h index 2862d38..0cd51d6 100644 --- a/sys/i386/isa/pcvt/pcvt_hdr.h +++ b/sys/i386/isa/pcvt/pcvt_hdr.h @@ -81,7 +81,9 @@ #include <sys/syslog.h> #include <sys/malloc.h> #include <sys/time.h> - +#if PCVT_FREEBSD > 210 +#include <machine/random.h> +#endif /* PCVT_FREEBSD > 210 */ #else /* ! PCVT_FREEBSD >= 200 */ #include "param.h" |