require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NETINET6_MLD6_VAR_H_)) {
    eval 'sub _NETINET6_MLD6_VAR_H_ () {1;}' unless defined(&_NETINET6_MLD6_VAR_H_);
    if(defined(&_KERNEL)) {
	eval 'sub MLD_RANDOM_DELAY {
	    my($X) = @_;
    	    eval q(( &cprng_fast32() % ($X) + 1));
	}' unless defined(&MLD_RANDOM_DELAY);
	eval 'sub MLD_OTHERLISTENER () {0;}' unless defined(&MLD_OTHERLISTENER);
	eval 'sub MLD_IREPORTEDLAST () {1;}' unless defined(&MLD_IREPORTEDLAST);
	eval 'sub MLD_REPORTPENDING () {2;}' unless defined(&MLD_REPORTPENDING);
	eval 'sub MLD_TIMER_SCALE () {1000;}' unless defined(&MLD_TIMER_SCALE);
    }
}
1;
