require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_UFS_EXT2FS_EXT2FS_EXTERN_H_)) {
    eval 'sub _UFS_EXT2FS_EXT2FS_EXTERN_H_ () {1;}' unless defined(&_UFS_EXT2FS_EXT2FS_EXTERN_H_);
    eval 'sub EXT2FS_ITIMES {
        my($ip, $acc, $mod, $cre) = @_;
	    eval q( &while (($ip)-> &i_flag & ( &IN_ACCESS |  &IN_CHANGE |  &IN_UPDATE |  &IN_MODIFY))  &ext2fs_itimes($ip, $acc, $mod, $cre));
    }' unless defined(&EXT2FS_ITIMES);
    eval 'sub IS_EXT2_VNODE {
        my($vp) = @_;
	    eval q(( ($vp->{v_tag}) ==  &VT_EXT2FS));
    }' unless defined(&IS_EXT2_VNODE);
}
1;
