summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/pcvt/pcvt_hdr.h
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1995-11-12 17:02:45 +0000
committermarkm <markm@FreeBSD.org>1995-11-12 17:02:45 +0000
commita01aa9429168245f1480fadaa22f17c436e9cf79 (patch)
tree8c810f5e24a4600a1911c1857fefbf7c28e64a49 /sys/i386/isa/pcvt/pcvt_hdr.h
parent813c396d87b382adbe74b412e354966d7d7b8eee (diff)
downloadFreeBSD-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.h4
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"
OpenPOWER on IntegriCloud