require '_h2ph_pre.ph';

unless(defined(&_JFFS2_FS_I)) {
    eval 'sub _JFFS2_FS_I () {1;}' unless defined(&_JFFS2_FS_I);
    undef(&THISSUCKS) if defined(&THISSUCKS);
    if(defined(&THISSUCKS)) {
	require 'linux/pipe_fs_i.ph';
    }
    if(defined(&THISSUCKS)) {
    }
    if(defined(&JFFS2_OUT_OF_KERNEL)) {
	eval 'sub JFFS2_INODE_INFO {
	    local($i) = @_;
    	    eval q(( ($i)-> &u));
	}' unless defined(&JFFS2_INODE_INFO);
    } else {
	eval 'sub JFFS2_INODE_INFO {
	    local($i) = @_;
    	    eval q(( ($i->{u}->{jffs2_i})));
	}' unless defined(&JFFS2_INODE_INFO);
    }
}
1;
