require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_RESOURCEVAR_H_)) {
    eval 'sub _SYS_RESOURCEVAR_H_ () {1;}' unless defined(&_SYS_RESOURCEVAR_H_);
    require 'sys/timeout.ph';
    eval 'sub pstat_startzero () { &p_ru;}' unless defined(&pstat_startzero);
    eval 'sub pstat_endzero () { &pstat_startcopy;}' unless defined(&pstat_endzero);
    eval 'sub pstat_startcopy () { &p_prof;}' unless defined(&pstat_startcopy);
    eval 'sub pstat_endcopy () { &p_start;}' unless defined(&pstat_endcopy);
    eval 'sub PL_SHAREMOD () {0x1;}' unless defined(&PL_SHAREMOD);
    eval 'sub ADDUPROF {
        my($p) = @_;
	    eval q( &do {  &addupc_task(($p), ($p)-> ($p_stats->{p_prof}->{pr_addr}), ($p)-> ($p_stats->{p_prof}->{pr_ticks})); ($p)-> ($p_stats->{p_prof}->{pr_ticks}) = 0; }  &while (0));
    }' unless defined(&ADDUPROF);
    if(defined(&_KERNEL)) {
    }
}
1;
