require '_h2ph_pre.ph';

unless(defined(&__NET_NET_OSDEP_H_DEFINED_)) {
    eval 'sub __NET_NET_OSDEP_H_DEFINED_ () {1;}' unless defined(&__NET_NET_OSDEP_H_DEFINED_);
    if(defined(&_KERNEL)) {
	if(defined( &__NetBSD__) || defined( &__OpenBSD__)) {
	    eval 'sub if_name {
	        local($ifp) = @_;
    		eval q((($ifp)-> &if_xname));
	    }' unless defined(&if_name);
	} else {
	}
	if(defined(&__FreeBSD__)) {
	    eval 'sub HAVE_OLD_BPF () {1;}' unless defined(&HAVE_OLD_BPF);
	}
	if(defined( &__FreeBSD__)  && (defined(&__FreeBSD__) ? &__FreeBSD__ : 0) >= 3) {
	    eval 'sub ifa_list () { &ifa_link;}' unless defined(&ifa_list);
	    eval 'sub if_addrlist () { &if_addrhead;}' unless defined(&if_addrlist);
	    eval 'sub if_list () { &if_link;}' unless defined(&if_list);
	}
	if(defined( &__NetBSD__)  && (defined(&__NetBSD_Version__) ? &__NetBSD_Version__ : 0) >= 104000000) {
	    eval 'sub ovbcopy () { &bcopy;}' unless defined(&ovbcopy);
	}
	if(defined( &__OpenBSD__) || (defined( &__bsdi__)  && (defined(&_BSDI_VERSION) ? &_BSDI_VERSION : 0) >= 199802)) {
	    eval 'sub HAVE_NRL_INPCB () {1;}' unless defined(&HAVE_NRL_INPCB);
	}
    }
}
1;
