require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_I2O_IOPIO_H_)) {
    eval 'sub _I2O_IOPIO_H_ () {1;}' unless defined(&_I2O_IOPIO_H_);
    eval 'sub IOP_MAX_MSG_XFERS () {3;}' unless defined(&IOP_MAX_MSG_XFERS);
    eval 'sub IOP_MAX_OUTBOUND () {256;}' unless defined(&IOP_MAX_OUTBOUND);
    eval 'sub IOP_MAX_INBOUND () {256;}' unless defined(&IOP_MAX_INBOUND);
    eval 'sub IOP_MF_RESERVE () {4;}' unless defined(&IOP_MF_RESERVE);
    eval 'sub IOP_MAX_XFER () {64*1024;}' unless defined(&IOP_MAX_XFER);
    eval 'sub IOP_MAX_MSG_SIZE () {128;}' unless defined(&IOP_MAX_MSG_SIZE);
    eval 'sub IT_CONFIGURED () {0x2;}' unless defined(&IT_CONFIGURED);
    eval 'sub IOPIOCPT () { &_IOWR(ord(\'u\'), 0, \'struct ioppt\');}' unless defined(&IOPIOCPT);
    eval 'sub IOPIOCGLCT () { &_IOWR(ord(\'u\'), 1, \'struct iovec\');}' unless defined(&IOPIOCGLCT);
    eval 'sub IOPIOCGSTATUS () { &_IOWR(ord(\'u\'), 2, \'struct iovec\');}' unless defined(&IOPIOCGSTATUS);
    eval 'sub IOPIOCRECONFIG () { &_IO(ord(\'u\'), 3);}' unless defined(&IOPIOCRECONFIG);
    eval 'sub IOPIOCGTIDMAP () { &_IOWR(ord(\'u\'), 4, \'struct iovec\');}' unless defined(&IOPIOCGTIDMAP);
}
1;
