diff options
author | dd <dd@FreeBSD.org> | 2001-05-27 04:03:52 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-05-27 04:03:52 +0000 |
commit | 29152fc1f544d38d025a502ef24ecfbc850dddd8 (patch) | |
tree | ad3a658101958696005420adb38584afe28e96a5 /usr.sbin | |
parent | d804909e7114430133b3f70be1266cae28b42cfe (diff) | |
download | FreeBSD-src-29152fc1f544d38d025a502ef24ecfbc850dddd8.zip FreeBSD-src-29152fc1f544d38d025a502ef24ecfbc850dddd8.tar.gz |
A la rev. 1.36, define CONS_CLRHIST here if it isn't already since
this is a build tool, so it has to build on 4.x with the old headers.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/kbdcontrol/kbdcontrol.c | 8 |
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", |