require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NETINET_IGMP_VAR_H_)) {
    eval 'sub _NETINET_IGMP_VAR_H_ () {1;}' unless defined(&_NETINET_IGMP_VAR_H_);
    eval 'sub IGMPCTL_STATS () {1;}' unless defined(&IGMPCTL_STATS);
    eval 'sub IGMPCTL_MAXID () {2;}' unless defined(&IGMPCTL_MAXID);
    eval 'sub IGMPCTL_NAMES () {{ { 0, 0}, { "stats",  &CTLTYPE_STRUCT } };}' unless defined(&IGMPCTL_NAMES);
    eval 'sub IGMPCTL_VARS () {{  &NULL };}' unless defined(&IGMPCTL_VARS);
    if(defined(&_KERNEL)) {
	eval 'sub IGMP_RANDOM_DELAY {
	    my($X) = @_;
    	    eval q(( &arc4random_uniform($X) + 1));
	}' unless defined(&IGMP_RANDOM_DELAY);
    }
}
1;
