require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_ARPA_NAMESER_COMPAT_)) {
    eval 'sub _ARPA_NAMESER_COMPAT_ () {1;}' unless defined(&_ARPA_NAMESER_COMPAT_);
    require 'endian.ph';
    eval 'sub __BIND () {19950621;}' unless defined(&__BIND);
    if(!defined(&_BYTE_ORDER) || ((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : undef) != (defined(&_BIG_ENDIAN) ? &_BIG_ENDIAN : undef)  && (defined(&_BYTE_ORDER) ? &_BYTE_ORDER : undef) != (defined(&_LITTLE_ENDIAN) ? &_LITTLE_ENDIAN : undef)  && (defined(&_BYTE_ORDER) ? &_BYTE_ORDER : undef) != (defined(&_PDP_ENDIAN) ? &_PDP_ENDIAN : undef))) {
	die("Undefined or invalid _BYTE_ORDER");
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : undef) == (defined(&_BIG_ENDIAN) ? &_BIG_ENDIAN : undef)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : undef) == (defined(&_LITTLE_ENDIAN) ? &_LITTLE_ENDIAN : undef) || (defined(&_BYTE_ORDER) ? &_BYTE_ORDER : undef) == (defined(&_PDP_ENDIAN) ? &_PDP_ENDIAN : undef)) {
    }
    eval 'sub PACKETSZ () { &NS_PACKETSZ;}' unless defined(&PACKETSZ);
    eval 'sub MAXDNAME () { &NS_MAXDNAME;}' unless defined(&MAXDNAME);
    eval 'sub MAXCDNAME () { &NS_MAXCDNAME;}' unless defined(&MAXCDNAME);
    eval 'sub MAXLABEL () { &NS_MAXLABEL;}' unless defined(&MAXLABEL);
    eval 'sub HFIXEDSZ () { &NS_HFIXEDSZ;}' unless defined(&HFIXEDSZ);
    eval 'sub QFIXEDSZ () { &NS_QFIXEDSZ;}' unless defined(&QFIXEDSZ);
    eval 'sub RRFIXEDSZ () { &NS_RRFIXEDSZ;}' unless defined(&RRFIXEDSZ);
    eval 'sub INT32SZ () { &NS_INT32SZ;}' unless defined(&INT32SZ);
    eval 'sub INT16SZ () { &NS_INT16SZ;}' unless defined(&INT16SZ);
    eval 'sub INT8SZ () { &NS_INT8SZ;}' unless defined(&INT8SZ);
    eval 'sub INADDRSZ () { &NS_INADDRSZ;}' unless defined(&INADDRSZ);
    eval 'sub IN6ADDRSZ () { &NS_IN6ADDRSZ;}' unless defined(&IN6ADDRSZ);
    eval 'sub INDIR_MASK () { &NS_CMPRSFLGS;}' unless defined(&INDIR_MASK);
    eval 'sub NAMESERVER_PORT () { &NS_DEFAULTPORT;}' unless defined(&NAMESERVER_PORT);
    eval 'sub S_ZONE () { &ns_s_zn;}' unless defined(&S_ZONE);
    eval 'sub S_PREREQ () { &ns_s_pr;}' unless defined(&S_PREREQ);
    eval 'sub S_UPDATE () { &ns_s_ud;}' unless defined(&S_UPDATE);
    eval 'sub S_ADDT () { &ns_s_ar;}' unless defined(&S_ADDT);
    eval 'sub QUERY () { &ns_o_query;}' unless defined(&QUERY);
    eval 'sub IQUERY () { &ns_o_iquery;}' unless defined(&IQUERY);
    eval 'sub STATUS () { &ns_o_status;}' unless defined(&STATUS);
    eval 'sub NS_NOTIFY_OP () { &ns_o_notify;}' unless defined(&NS_NOTIFY_OP);
    eval 'sub NS_UPDATE_OP () { &ns_o_update;}' unless defined(&NS_UPDATE_OP);
    eval 'sub NOERROR () { &ns_r_noerror;}' unless defined(&NOERROR);
    eval 'sub FORMERR () { &ns_r_formerr;}' unless defined(&FORMERR);
    eval 'sub SERVFAIL () { &ns_r_servfail;}' unless defined(&SERVFAIL);
    eval 'sub NXDOMAIN () { &ns_r_nxdomain;}' unless defined(&NXDOMAIN);
    eval 'sub NOTIMP () { &ns_r_notimpl;}' unless defined(&NOTIMP);
    eval 'sub REFUSED () { &ns_r_refused;}' unless defined(&REFUSED);
    eval 'sub YXDOMAIN () { &ns_r_yxdomain;}' unless defined(&YXDOMAIN);
    eval 'sub YXRRSET () { &ns_r_yxrrset;}' unless defined(&YXRRSET);
    eval 'sub NXRRSET () { &ns_r_nxrrset;}' unless defined(&NXRRSET);
    eval 'sub NOTAUTH () { &ns_r_notauth;}' unless defined(&NOTAUTH);
    eval 'sub NOTZONE () { &ns_r_notzone;}' unless defined(&NOTZONE);
    eval 'sub DELETE () { &ns_uop_delete;}' unless defined(&DELETE);
    eval 'sub ADD () { &ns_uop_add;}' unless defined(&ADD);
    eval 'sub T_A () { &ns_t_a;}' unless defined(&T_A);
    eval 'sub T_NS () { &ns_t_ns;}' unless defined(&T_NS);
    eval 'sub T_MD () { &ns_t_md;}' unless defined(&T_MD);
    eval 'sub T_MF () { &ns_t_mf;}' unless defined(&T_MF);
    eval 'sub T_CNAME () { &ns_t_cname;}' unless defined(&T_CNAME);
    eval 'sub T_SOA () { &ns_t_soa;}' unless defined(&T_SOA);
    eval 'sub T_MB () { &ns_t_mb;}' unless defined(&T_MB);
    eval 'sub T_MG () { &ns_t_mg;}' unless defined(&T_MG);
    eval 'sub T_MR () { &ns_t_mr;}' unless defined(&T_MR);
    eval 'sub T_NULL () { &ns_t_null;}' unless defined(&T_NULL);
    eval 'sub T_WKS () { &ns_t_wks;}' unless defined(&T_WKS);
    eval 'sub T_PTR () { &ns_t_ptr;}' unless defined(&T_PTR);
    eval 'sub T_HINFO () { &ns_t_hinfo;}' unless defined(&T_HINFO);
    eval 'sub T_MINFO () { &ns_t_minfo;}' unless defined(&T_MINFO);
    eval 'sub T_MX () { &ns_t_mx;}' unless defined(&T_MX);
    eval 'sub T_TXT () { &ns_t_txt;}' unless defined(&T_TXT);
    eval 'sub T_RP () { &ns_t_rp;}' unless defined(&T_RP);
    eval 'sub T_AFSDB () { &ns_t_afsdb;}' unless defined(&T_AFSDB);
    eval 'sub T_X25 () { &ns_t_x25;}' unless defined(&T_X25);
    eval 'sub T_ISDN () { &ns_t_isdn;}' unless defined(&T_ISDN);
    eval 'sub T_RT () { &ns_t_rt;}' unless defined(&T_RT);
    eval 'sub T_NSAP () { &ns_t_nsap;}' unless defined(&T_NSAP);
    eval 'sub T_NSAP_PTR () { &ns_t_nsap_ptr;}' unless defined(&T_NSAP_PTR);
    eval 'sub T_SIG () { &ns_t_sig;}' unless defined(&T_SIG);
    eval 'sub T_KEY () { &ns_t_key;}' unless defined(&T_KEY);
    eval 'sub T_PX () { &ns_t_px;}' unless defined(&T_PX);
    eval 'sub T_GPOS () { &ns_t_gpos;}' unless defined(&T_GPOS);
    eval 'sub T_AAAA () { &ns_t_aaaa;}' unless defined(&T_AAAA);
    eval 'sub T_LOC () { &ns_t_loc;}' unless defined(&T_LOC);
    eval 'sub T_NXT () { &ns_t_nxt;}' unless defined(&T_NXT);
    eval 'sub T_EID () { &ns_t_eid;}' unless defined(&T_EID);
    eval 'sub T_NIMLOC () { &ns_t_nimloc;}' unless defined(&T_NIMLOC);
    eval 'sub T_SRV () { &ns_t_srv;}' unless defined(&T_SRV);
    eval 'sub T_ATMA () { &ns_t_atma;}' unless defined(&T_ATMA);
    eval 'sub T_NAPTR () { &ns_t_naptr;}' unless defined(&T_NAPTR);
    eval 'sub T_A6 () { &ns_t_a6;}' unless defined(&T_A6);
    eval 'sub T_DNAME () { &ns_t_dname;}' unless defined(&T_DNAME);
    eval 'sub T_TSIG () { &ns_t_tsig;}' unless defined(&T_TSIG);
    eval 'sub T_IXFR () { &ns_t_ixfr;}' unless defined(&T_IXFR);
    eval 'sub T_AXFR () { &ns_t_axfr;}' unless defined(&T_AXFR);
    eval 'sub T_MAILB () { &ns_t_mailb;}' unless defined(&T_MAILB);
    eval 'sub T_MAILA () { &ns_t_maila;}' unless defined(&T_MAILA);
    eval 'sub T_ANY () { &ns_t_any;}' unless defined(&T_ANY);
    eval 'sub C_IN () { &ns_c_in;}' unless defined(&C_IN);
    eval 'sub C_CHAOS () { &ns_c_chaos;}' unless defined(&C_CHAOS);
    eval 'sub C_HS () { &ns_c_hs;}' unless defined(&C_HS);
    eval 'sub C_NONE () { &ns_c_none;}' unless defined(&C_NONE);
    eval 'sub C_ANY () { &ns_c_any;}' unless defined(&C_ANY);
    eval 'sub GETSHORT () { &NS_GET16;}' unless defined(&GETSHORT);
    eval 'sub GETLONG () { &NS_GET32;}' unless defined(&GETLONG);
    eval 'sub PUTSHORT () { &NS_PUT16;}' unless defined(&PUTSHORT);
    eval 'sub PUTLONG () { &NS_PUT32;}' unless defined(&PUTLONG);
}
1;
