require '_h2ph_pre.ph';

unless(defined(&_LINUX_BLKPG_H)) {
    eval 'sub _LINUX_BLKPG_H () {1;}' unless defined(&_LINUX_BLKPG_H);
    require 'linux/ioctl.ph';
    eval 'sub BLKPG () { &_IO(0x12,105);}' unless defined(&BLKPG);
    eval 'sub BLKPG_ADD_PARTITION () {1;}' unless defined(&BLKPG_ADD_PARTITION);
    eval 'sub BLKPG_DEL_PARTITION () {2;}' unless defined(&BLKPG_DEL_PARTITION);
    eval 'sub BLKPG_DEVNAMELTH () {64;}' unless defined(&BLKPG_DEVNAMELTH);
    eval 'sub BLKPG_VOLNAMELTH () {64;}' unless defined(&BLKPG_VOLNAMELTH);
}
1;
