require '_h2ph_pre.ph';

unless(defined(&__LINUX_IF_EC)) {
    eval 'sub __LINUX_IF_EC () {1;}' unless defined(&__LINUX_IF_EC);
    eval 'sub ECTYPE_PACKET_RECEIVED () {0;}' unless defined(&ECTYPE_PACKET_RECEIVED);
    eval 'sub ECTYPE_TRANSMIT_STATUS () {0x10;}' unless defined(&ECTYPE_TRANSMIT_STATUS);
    eval 'sub ECTYPE_TRANSMIT_OK () {1;}' unless defined(&ECTYPE_TRANSMIT_OK);
    eval 'sub ECTYPE_TRANSMIT_NOT_LISTENING () {2;}' unless defined(&ECTYPE_TRANSMIT_NOT_LISTENING);
    eval 'sub ECTYPE_TRANSMIT_NET_ERROR () {3;}' unless defined(&ECTYPE_TRANSMIT_NET_ERROR);
    eval 'sub ECTYPE_TRANSMIT_NO_CLOCK () {4;}' unless defined(&ECTYPE_TRANSMIT_NO_CLOCK);
    eval 'sub ECTYPE_TRANSMIT_LINE_JAMMED () {5;}' unless defined(&ECTYPE_TRANSMIT_LINE_JAMMED);
    eval 'sub ECTYPE_TRANSMIT_NOT_PRESENT () {6;}' unless defined(&ECTYPE_TRANSMIT_NOT_PRESENT);
}
1;
