require '_h2ph_pre.ph';

unless(defined(&_TERMIOS_H)) {
    die("Never include <bits/termios.h> directly; use <termios.h> instead.");
}
unless(defined(&NCCS)) {
    sub NCCS () {	32;}
}
unless(defined(&VINTR)) {
    sub VINTR () {	0;}
}
unless(defined(&VQUIT)) {
    sub VQUIT () {	1;}
}
unless(defined(&VERASE)) {
    sub VERASE () {	2;}
}
unless(defined(&VKILL)) {
    sub VKILL () {	3;}
}
unless(defined(&VEOF)) {
    sub VEOF () {	4;}
}
unless(defined(&VTIME)) {
    sub VTIME () {	5;}
}
unless(defined(&VMIN)) {
    sub VMIN () {	6;}
}
unless(defined(&VSWTC)) {
    sub VSWTC () {	7;}
}
unless(defined(&VSTART)) {
    sub VSTART () {	8;}
}
unless(defined(&VSTOP)) {
    sub VSTOP () {	9;}
}
unless(defined(&VSUSP)) {
    sub VSUSP () {	10;}
}
unless(defined(&VEOL)) {
    sub VEOL () {	11;}
}
unless(defined(&VREPRINT)) {
    sub VREPRINT () {	12;}
}
unless(defined(&VDISCARD)) {
    sub VDISCARD () {	13;}
}
unless(defined(&VWERASE)) {
    sub VWERASE () {	14;}
}
unless(defined(&VLNEXT)) {
    sub VLNEXT () {	15;}
}
unless(defined(&VEOL2)) {
    sub VEOL2 () {	16;}
}
unless(defined(&IGNBRK)) {
    sub IGNBRK () {	0000001;}
}
unless(defined(&BRKINT)) {
    sub BRKINT () {	0000002;}
}
unless(defined(&IGNPAR)) {
    sub IGNPAR () {	0000004;}
}
unless(defined(&PARMRK)) {
    sub PARMRK () {	0000010;}
}
unless(defined(&INPCK)) {
    sub INPCK () {	0000020;}
}
unless(defined(&ISTRIP)) {
    sub ISTRIP () {	0000040;}
}
unless(defined(&INLCR)) {
    sub INLCR () {	0000100;}
}
unless(defined(&IGNCR)) {
    sub IGNCR () {	0000200;}
}
unless(defined(&ICRNL)) {
    sub ICRNL () {	0000400;}
}
unless(defined(&IUCLC)) {
    sub IUCLC () {	0001000;}
}
unless(defined(&IXON)) {
    sub IXON () {	0002000;}
}
unless(defined(&IXANY)) {
    sub IXANY () {	0004000;}
}
unless(defined(&IXOFF)) {
    sub IXOFF () {	0010000;}
}
unless(defined(&IMAXBEL)) {
    sub IMAXBEL () {	0020000;}
}
unless(defined(&OPOST)) {
    sub OPOST () {	0000001;}
}
unless(defined(&OLCUC)) {
    sub OLCUC () {	0000002;}
}
unless(defined(&ONLCR)) {
    sub ONLCR () {	0000004;}
}
unless(defined(&OCRNL)) {
    sub OCRNL () {	0000010;}
}
unless(defined(&ONOCR)) {
    sub ONOCR () {	0000020;}
}
unless(defined(&ONLRET)) {
    sub ONLRET () {	0000040;}
}
unless(defined(&OFILL)) {
    sub OFILL () {	0000100;}
}
unless(defined(&OFDEL)) {
    sub OFDEL () {	0000200;}
}
if(defined (defined(&__USE_MISC) ? &__USE_MISC : 0) || defined (defined(&__USE_XOPEN) ? &__USE_XOPEN : 0)) {
    eval 'sub NLDLY () {0000400;}' unless defined(&NLDLY);
    eval 'sub NL0 () {0000000;}' unless defined(&NL0);
    eval 'sub NL1 () {0000400;}' unless defined(&NL1);
    eval 'sub CRDLY () {0003000;}' unless defined(&CRDLY);
    eval 'sub CR0 () {0000000;}' unless defined(&CR0);
    eval 'sub CR1 () {0001000;}' unless defined(&CR1);
    eval 'sub CR2 () {0002000;}' unless defined(&CR2);
    eval 'sub CR3 () {0003000;}' unless defined(&CR3);
    eval 'sub TABDLY () {0014000;}' unless defined(&TABDLY);
    eval 'sub TAB0 () {0000000;}' unless defined(&TAB0);
    eval 'sub TAB1 () {0004000;}' unless defined(&TAB1);
    eval 'sub TAB2 () {0010000;}' unless defined(&TAB2);
    eval 'sub TAB3 () {0014000;}' unless defined(&TAB3);
    eval 'sub BSDLY () {0020000;}' unless defined(&BSDLY);
    eval 'sub BS0 () {0000000;}' unless defined(&BS0);
    eval 'sub BS1 () {0020000;}' unless defined(&BS1);
    eval 'sub FFDLY () {0100000;}' unless defined(&FFDLY);
    eval 'sub FF0 () {0000000;}' unless defined(&FF0);
    eval 'sub FF1 () {0100000;}' unless defined(&FF1);
}
unless(defined(&VTDLY)) {
    sub VTDLY () {	0040000;}
}
unless(defined(&VT0)) {
    sub VT0 () {	0000000;}
}
unless(defined(&VT1)) {
    sub VT1 () {	0040000;}
}
if(defined(&__USE_MISC)) {
    eval 'sub XTABS () {0014000;}' unless defined(&XTABS);
}
if(defined(&__USE_MISC)) {
    eval 'sub CBAUD () {0010017;}' unless defined(&CBAUD);
}
unless(defined(&B0)) {
    sub B0 () {	0000000;}
}
unless(defined(&B50)) {
    sub B50 () {	0000001;}
}
unless(defined(&B75)) {
    sub B75 () {	0000002;}
}
unless(defined(&B110)) {
    sub B110 () {	0000003;}
}
unless(defined(&B134)) {
    sub B134 () {	0000004;}
}
unless(defined(&B150)) {
    sub B150 () {	0000005;}
}
unless(defined(&B200)) {
    sub B200 () {	0000006;}
}
unless(defined(&B300)) {
    sub B300 () {	0000007;}
}
unless(defined(&B600)) {
    sub B600 () {	0000010;}
}
unless(defined(&B1200)) {
    sub B1200 () {	0000011;}
}
unless(defined(&B1800)) {
    sub B1800 () {	0000012;}
}
unless(defined(&B2400)) {
    sub B2400 () {	0000013;}
}
unless(defined(&B4800)) {
    sub B4800 () {	0000014;}
}
unless(defined(&B9600)) {
    sub B9600 () {	0000015;}
}
unless(defined(&B19200)) {
    sub B19200 () {	0000016;}
}
unless(defined(&B38400)) {
    sub B38400 () {	0000017;}
}
if(defined(&__USE_MISC)) {
    eval 'sub EXTA () { &B19200;}' unless defined(&EXTA);
    eval 'sub EXTB () { &B38400;}' unless defined(&EXTB);
}
unless(defined(&CSIZE)) {
    sub CSIZE () {	0000060;}
}
unless(defined(&CS5)) {
    sub CS5 () {	0000000;}
}
unless(defined(&CS6)) {
    sub CS6 () {	0000020;}
}
unless(defined(&CS7)) {
    sub CS7 () {	0000040;}
}
unless(defined(&CS8)) {
    sub CS8 () {	0000060;}
}
unless(defined(&CSTOPB)) {
    sub CSTOPB () {	0000100;}
}
unless(defined(&CREAD)) {
    sub CREAD () {	0000200;}
}
unless(defined(&PARENB)) {
    sub PARENB () {	0000400;}
}
unless(defined(&PARODD)) {
    sub PARODD () {	0001000;}
}
unless(defined(&HUPCL)) {
    sub HUPCL () {	0002000;}
}
unless(defined(&CLOCAL)) {
    sub CLOCAL () {	0004000;}
}
if(defined(&__USE_MISC)) {
    eval 'sub CBAUDEX () {0010000;}' unless defined(&CBAUDEX);
}
unless(defined(&B57600)) {
    sub B57600 () {	0010001;}
}
unless(defined(&B115200)) {
    sub B115200 () {	0010002;}
}
unless(defined(&B230400)) {
    sub B230400 () {	0010003;}
}
unless(defined(&B460800)) {
    sub B460800 () {	0010004;}
}
unless(defined(&B500000)) {
    sub B500000 () {	0010005;}
}
unless(defined(&B576000)) {
    sub B576000 () {	0010006;}
}
unless(defined(&B921600)) {
    sub B921600 () {	0010007;}
}
unless(defined(&B1000000)) {
    sub B1000000 () {	0010010;}
}
unless(defined(&B1152000)) {
    sub B1152000 () {	0010011;}
}
unless(defined(&B1500000)) {
    sub B1500000 () {	0010012;}
}
unless(defined(&B2000000)) {
    sub B2000000 () {	0010013;}
}
unless(defined(&B2500000)) {
    sub B2500000 () {	0010014;}
}
unless(defined(&B3000000)) {
    sub B3000000 () {	0010015;}
}
unless(defined(&B3500000)) {
    sub B3500000 () {	0010016;}
}
unless(defined(&B4000000)) {
    sub B4000000 () {	0010017;}
}
unless(defined(&__MAX_BAUD)) {
    sub __MAX_BAUD () {	 &B4000000;}
}
if(defined(&__USE_MISC)) {
    eval 'sub CIBAUD () {002003600000;}' unless defined(&CIBAUD);
    eval 'sub CRTSCTS () {020000000000;}' unless defined(&CRTSCTS);
}
unless(defined(&ISIG)) {
    sub ISIG () {	0000001;}
}
unless(defined(&ICANON)) {
    sub ICANON () {	0000002;}
}
if(defined (defined(&__USE_MISC) ? &__USE_MISC : 0) || defined (defined(&__USE_XOPEN) ? &__USE_XOPEN : 0)) {
    eval 'sub XCASE () {0000004;}' unless defined(&XCASE);
}
unless(defined(&ECHO)) {
    sub ECHO () {	0000010;}
}
unless(defined(&ECHOE)) {
    sub ECHOE () {	0000020;}
}
unless(defined(&ECHOK)) {
    sub ECHOK () {	0000040;}
}
unless(defined(&ECHONL)) {
    sub ECHONL () {	0000100;}
}
unless(defined(&NOFLSH)) {
    sub NOFLSH () {	0000200;}
}
unless(defined(&TOSTOP)) {
    sub TOSTOP () {	0000400;}
}
if(defined(&__USE_MISC)) {
    eval 'sub ECHOCTL () {0001000;}' unless defined(&ECHOCTL);
    eval 'sub ECHOPRT () {0002000;}' unless defined(&ECHOPRT);
    eval 'sub ECHOKE () {0004000;}' unless defined(&ECHOKE);
    eval 'sub FLUSHO () {0010000;}' unless defined(&FLUSHO);
    eval 'sub PENDIN () {0040000;}' unless defined(&PENDIN);
}
unless(defined(&IEXTEN)) {
    sub IEXTEN () {	0100000;}
}
unless(defined(&TCOOFF)) {
    sub TCOOFF () {	0;}
}
unless(defined(&TCOON)) {
    sub TCOON () {	1;}
}
unless(defined(&TCIOFF)) {
    sub TCIOFF () {	2;}
}
unless(defined(&TCION)) {
    sub TCION () {	3;}
}
unless(defined(&TCIFLUSH)) {
    sub TCIFLUSH () {	0;}
}
unless(defined(&TCOFLUSH)) {
    sub TCOFLUSH () {	1;}
}
unless(defined(&TCIOFLUSH)) {
    sub TCIOFLUSH () {	2;}
}
unless(defined(&TCSANOW)) {
    sub TCSANOW () {	0;}
}
unless(defined(&TCSADRAIN)) {
    sub TCSADRAIN () {	1;}
}
unless(defined(&TCSAFLUSH)) {
    sub TCSAFLUSH () {	2;}
}
unless(defined(&_IOT_termios)) {
    sub _IOT_termios () {	 &_IOT ( &_IOTS ( &cflag_t), 4,  &_IOTS ( &cc_t),  &NCCS,  &_IOTS ( &speed_t), 2);}
}
1;
