require '_h2ph_pre.ph';

unless(defined(&_ISOFS_FS_H)) {
    eval 'sub _ISOFS_FS_H () {1;}' unless defined(&_ISOFS_FS_H);
    require 'linux/types.ph';
    eval 'sub ISODCL {
        local($from, $to) = @_;
	    eval q(($to - $from + 1));
    }' unless defined(&ISODCL);
    eval 'sub ISO_VD_PRIMARY () {1;}' unless defined(&ISO_VD_PRIMARY);
    eval 'sub ISO_VD_SUPPLEMENTARY () {2;}' unless defined(&ISO_VD_SUPPLEMENTARY);
    eval 'sub ISO_VD_END () {255;}' unless defined(&ISO_VD_END);
    eval 'sub ISO_STANDARD_ID () {"CD001";}' unless defined(&ISO_STANDARD_ID);
    eval 'sub HS_STANDARD_ID () {"CDROM";}' unless defined(&HS_STANDARD_ID);
    eval 'sub ISOFS_BLOCK_BITS () {11;}' unless defined(&ISOFS_BLOCK_BITS);
    eval 'sub ISOFS_BLOCK_SIZE () {2048;}' unless defined(&ISOFS_BLOCK_SIZE);
    eval 'sub ISOFS_BUFFER_SIZE {
        local($INODE) = @_;
	    eval q((($INODE)-> ($i_sb->{s_blocksize})));
    }' unless defined(&ISOFS_BUFFER_SIZE);
    eval 'sub ISOFS_BUFFER_BITS {
        local($INODE) = @_;
	    eval q((($INODE)-> ($i_sb->{s_blocksize_bits})));
    }' unless defined(&ISOFS_BUFFER_BITS);
    eval 'sub ISOFS_ZONE_BITS {
        local($INODE) = @_;
	    eval q((($INODE)-> ($i_sb->{u}->{isofs_sb}->{s_log_zone_size})));
    }' unless defined(&ISOFS_ZONE_BITS);
    eval 'sub ISOFS_SUPER_MAGIC () {0x9660;}' unless defined(&ISOFS_SUPER_MAGIC);
}
1;
