summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b91e8b6..287b266 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",
OpenPOWER on IntegriCloud