require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_FILIO_H_)) {
    eval 'sub _SYS_FILIO_H_ () {1;}' unless defined(&_SYS_FILIO_H_);
    require 'sys/ioccom.ph';
    eval 'sub FIOCLEX () { &_IO(ord(\'f\'), 1);}' unless defined(&FIOCLEX);
    eval 'sub FIONCLEX () { &_IO(ord(\'f\'), 2);}' unless defined(&FIONCLEX);
    eval 'sub FIONREAD () { &_IOR(ord(\'f\'), 127, \'int\');}' unless defined(&FIONREAD);
    eval 'sub FIONBIO () { &_IOW(ord(\'f\'), 126, \'int\');}' unless defined(&FIONBIO);
    eval 'sub FIOASYNC () { &_IOW(ord(\'f\'), 125, \'int\');}' unless defined(&FIOASYNC);
    eval 'sub FIOSETOWN () { &_IOW(ord(\'f\'), 124, \'int\');}' unless defined(&FIOSETOWN);
    eval 'sub FIOGETOWN () { &_IOR(ord(\'f\'), 123, \'int\');}' unless defined(&FIOGETOWN);
    eval 'sub FIBMAP () { &_IOWR(ord(\'f\'), 122,  &daddr_t);}' unless defined(&FIBMAP);
}
1;
