require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_UCRED_H_)) {
    eval 'sub _SYS_UCRED_H_ () {1;}' unless defined(&_SYS_UCRED_H_);
    eval 'sub NOCRED () {(-1);}' unless defined(&NOCRED);
    eval 'sub FSCRED () {(-2);}' unless defined(&FSCRED);
    if(defined(&_KERNEL)) {
	eval 'sub crhold {
	    my($cr) = @_;
    	    eval q(($cr)-> &cr_ref++);
	}' unless defined(&crhold);
	eval 'sub SUSER_NOACCT () {0x1;}' unless defined(&SUSER_NOACCT);
    }
}
1;
