aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/kbdcontrol
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-05-27 04:03:52 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-05-27 04:03:52 +0000
commit68c805eb99535114770d8e60eb74ed2ffe18ac95 (patch)
tree42043cf6dae6458e714250ed799e9712fe746166 /usr.sbin/kbdcontrol
parentcb429a255a5c653d641d24dafc5ce83ecef6b1c1 (diff)
Notes
Diffstat (limited to 'usr.sbin/kbdcontrol')
-rw-r--r--usr.sbin/kbdcontrol/kbdcontrol.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/kbdcontrol/kbdcontrol.c b/usr.sbin/kbdcontrol/kbdcontrol.c
index b91e8b6050a1..287b266ce01e 100644
--- a/usr.sbin/kbdcontrol/kbdcontrol.c
+++ b/usr.sbin/kbdcontrol/kbdcontrol.c
@@ -44,12 +44,16 @@ static const char rcsid[] =
#include "lex.h"
/*
- * PASTE isn't defined in 4.x, but we need it to bridge to 5.0-current
- * so define it here as a stop gap transition measure.
+ * PASTE and CONS_CLRHIST are't defined in 4.x, but we need them to
+ * bridge to 5.0-current so define them here as a stop gap transition
+ * measure.
*/
#ifndef PASTE
#define PASTE 0xa3 /* paste from cut-paste buffer */
#endif
+#ifndef CONS_CLRHIST
+#define CONS_CLRHIST _IO('c', 10)
+#endif
char ctrl_names[32][4] = {
"nul", "soh", "stx", "etx", "eot", "enq", "ack", "bel",