require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_WSCONS_WSDISPLAY_USL_IO_H_)) {
    eval 'sub _DEV_WSCONS_WSDISPLAY_USL_IO_H_ () {1;}' unless defined(&_DEV_WSCONS_WSDISPLAY_USL_IO_H_);
    require 'sys/ioccom.ph';
    eval 'sub VT_OPENQRY () { &_IOR(ord(\'v\'), 1, \'int\');}' unless defined(&VT_OPENQRY);
    eval 'sub VT_SETMODE () { &_IOW(ord(\'v\'), 2,  &vtmode_t);}' unless defined(&VT_SETMODE);
    eval 'sub VT_GETMODE () { &_IOR(ord(\'v\'), 3,  &vtmode_t);}' unless defined(&VT_GETMODE);
    eval 'sub VT_AUTO () {0;}' unless defined(&VT_AUTO);
    eval 'sub VT_PROCESS () {1;}' unless defined(&VT_PROCESS);
    eval 'sub VT_RELDISP () { &_IO(ord(\'v\'), 4);}' unless defined(&VT_RELDISP);
    eval 'sub VT_FALSE () {0;}' unless defined(&VT_FALSE);
    eval 'sub VT_TRUE () {1;}' unless defined(&VT_TRUE);
    eval 'sub VT_ACKACQ () {2;}' unless defined(&VT_ACKACQ);
    eval 'sub VT_ACTIVATE () { &_IO(ord(\'v\'), 5);}' unless defined(&VT_ACTIVATE);
    eval 'sub VT_WAITACTIVE () { &_IO(ord(\'v\'), 6);}' unless defined(&VT_WAITACTIVE);
    eval 'sub VT_GETACTIVE () { &_IOR(ord(\'v\'), 7, \'int\');}' unless defined(&VT_GETACTIVE);
    eval 'sub VT_GETSTATE () { &_IOR(ord(\'v\'), 100, \'struct vt_stat\');}' unless defined(&VT_GETSTATE);
    eval 'sub KDGETKBENT () { &_IOWR(ord(\'K\'), 4, \'struct kbentry\');}' unless defined(&KDGETKBENT);
    eval 'sub KDGKBMODE () { &_IOR(ord(\'K\'), 6, \'int\');}' unless defined(&KDGKBMODE);
    eval 'sub KDSKBMODE () { &_IO(ord(\'K\'), 7);}' unless defined(&KDSKBMODE);
    eval 'sub K_RAW () {0;}' unless defined(&K_RAW);
    eval 'sub K_XLATE () {1;}' unless defined(&K_XLATE);
    eval 'sub KDMKTONE () { &_IO(ord(\'K\'), 8);}' unless defined(&KDMKTONE);
    eval 'sub KDSETMODE () { &_IO(ord(\'K\'), 10);}' unless defined(&KDSETMODE);
    eval 'sub KD_TEXT () {0;}' unless defined(&KD_TEXT);
    eval 'sub KD_GRAPHICS () {1;}' unless defined(&KD_GRAPHICS);
    eval 'sub KDENABIO () { &_IO(ord(\'K\'), 60);}' unless defined(&KDENABIO);
    eval 'sub KDDISABIO () { &_IO(ord(\'K\'), 61);}' unless defined(&KDDISABIO);
    eval 'sub KDGKBTYPE () { &_IOR(ord(\'K\'), 64, \'char\');}' unless defined(&KDGKBTYPE);
    eval 'sub KB_84 () {1;}' unless defined(&KB_84);
    eval 'sub KB_101 () {2;}' unless defined(&KB_101);
    eval 'sub KB_OTHER () {3;}' unless defined(&KB_OTHER);
    eval 'sub KDGETLED () { &_IOR(ord(\'K\'), 65, \'int\');}' unless defined(&KDGETLED);
    eval 'sub KDSETLED () { &_IO(ord(\'K\'), 66);}' unless defined(&KDSETLED);
    eval 'sub LED_CAP () {1;}' unless defined(&LED_CAP);
    eval 'sub LED_NUM () {2;}' unless defined(&LED_NUM);
    eval 'sub LED_SCR () {4;}' unless defined(&LED_SCR);
    eval 'sub KDSETRAD () { &_IO(ord(\'K\'), 67);}' unless defined(&KDSETRAD);
    eval 'sub VGAPCVTID () { &_IOWR(ord(\'V\'), 113, \'struct pcvtid\');}' unless defined(&VGAPCVTID);
    eval 'sub PCVTIDNAMELN () {16;}' unless defined(&PCVTIDNAMELN);
    eval 'sub CONS_GETVERS () { &_IOR(ord(\'c\'), 74, \'int\');}' unless defined(&CONS_GETVERS);
}
1;
