require '_h2ph_pre.ph';

unless(defined(&_LINUX_IF_HIPPI_H)) {
    eval 'sub _LINUX_IF_HIPPI_H () {1;}' unless defined(&_LINUX_IF_HIPPI_H);
    require 'asm/byteorder.ph';
    eval 'sub HIPPI_ALEN () {6;}' unless defined(&HIPPI_ALEN);
    eval 'sub HIPPI_HLEN () {$sizeof{\'struct hippi_hdr\'};}' unless defined(&HIPPI_HLEN);
    eval 'sub HIPPI_ZLEN () {0;}' unless defined(&HIPPI_ZLEN);
    eval 'sub HIPPI_DATA_LEN () {65280;}' unless defined(&HIPPI_DATA_LEN);
    eval 'sub HIPPI_FRAME_LEN () {( &HIPPI_DATA_LEN +  &HIPPI_HLEN);}' unless defined(&HIPPI_FRAME_LEN);
    eval 'sub HIPPI_EXTENDED_SAP () {0xaa;}' unless defined(&HIPPI_EXTENDED_SAP);
    eval 'sub HIPPI_UI_CMD () {0x3;}' unless defined(&HIPPI_UI_CMD);
    if(0) {
	if(defined ( &__BIG_ENDIAN_BITFIELD)) {
	    if(0) {
	    }
	}
 elsif(defined( &__LITTLE_ENDIAN_BITFIELD)) {
	    if(0) {
	    }
	} else {
	    die("Please fix <asm/byteorder.h>");
	}
    } else {
    }
    if(defined ( &__BIG_ENDIAN_BITFIELD)) {
    }
 elsif(defined( &__LITTLE_ENDIAN_BITFIELD)) {
    }
    if(defined ( &__BIG_ENDIAN_BITFIELD)) {
    }
 elsif(defined( &__LITTLE_ENDIAN_BITFIELD)) {
    }
    eval 'sub HIPPI_OUI_LEN () {3;}' unless defined(&HIPPI_OUI_LEN);
}
1;
