require '_h2ph_pre.ph';

unless(defined(&__LINUX_USB_H)) {
    eval 'sub __LINUX_USB_H () {1;}' unless defined(&__LINUX_USB_H);
    eval 'sub USB_CLASS_PER_INTERFACE () {0;}' unless defined(&USB_CLASS_PER_INTERFACE);
    eval 'sub USB_CLASS_AUDIO () {1;}' unless defined(&USB_CLASS_AUDIO);
    eval 'sub USB_CLASS_COMM () {2;}' unless defined(&USB_CLASS_COMM);
    eval 'sub USB_CLASS_HID () {3;}' unless defined(&USB_CLASS_HID);
    eval 'sub USB_CLASS_PHYSICAL () {5;}' unless defined(&USB_CLASS_PHYSICAL);
    eval 'sub USB_CLASS_PRINTER () {7;}' unless defined(&USB_CLASS_PRINTER);
    eval 'sub USB_CLASS_MASS_STORAGE () {8;}' unless defined(&USB_CLASS_MASS_STORAGE);
    eval 'sub USB_CLASS_HUB () {9;}' unless defined(&USB_CLASS_HUB);
    eval 'sub USB_CLASS_DATA () {10;}' unless defined(&USB_CLASS_DATA);
    eval 'sub USB_CLASS_APP_SPEC () {0xfe;}' unless defined(&USB_CLASS_APP_SPEC);
    eval 'sub USB_CLASS_VENDOR_SPEC () {0xff;}' unless defined(&USB_CLASS_VENDOR_SPEC);
    eval 'sub USB_TYPE_MASK () {(0x3 << 5);}' unless defined(&USB_TYPE_MASK);
    eval 'sub USB_TYPE_STANDARD () {(0x << 5);}' unless defined(&USB_TYPE_STANDARD);
    eval 'sub USB_TYPE_CLASS () {(0x1 << 5);}' unless defined(&USB_TYPE_CLASS);
    eval 'sub USB_TYPE_VENDOR () {(0x2 << 5);}' unless defined(&USB_TYPE_VENDOR);
    eval 'sub USB_TYPE_RESERVED () {(0x3 << 5);}' unless defined(&USB_TYPE_RESERVED);
    eval 'sub USB_RECIP_MASK () {0x1f;}' unless defined(&USB_RECIP_MASK);
    eval 'sub USB_RECIP_DEVICE () {0x;}' unless defined(&USB_RECIP_DEVICE);
    eval 'sub USB_RECIP_INTERFACE () {0x1;}' unless defined(&USB_RECIP_INTERFACE);
    eval 'sub USB_RECIP_ENDPOINT () {0x2;}' unless defined(&USB_RECIP_ENDPOINT);
    eval 'sub USB_RECIP_OTHER () {0x3;}' unless defined(&USB_RECIP_OTHER);
    eval 'sub USB_DIR_OUT () {0;}' unless defined(&USB_DIR_OUT);
    eval 'sub USB_DIR_IN () {0x80;}' unless defined(&USB_DIR_IN);
    eval 'sub USB_DT_DEVICE () {0x1;}' unless defined(&USB_DT_DEVICE);
    eval 'sub USB_DT_CONFIG () {0x2;}' unless defined(&USB_DT_CONFIG);
    eval 'sub USB_DT_STRING () {0x3;}' unless defined(&USB_DT_STRING);
    eval 'sub USB_DT_INTERFACE () {0x4;}' unless defined(&USB_DT_INTERFACE);
    eval 'sub USB_DT_ENDPOINT () {0x5;}' unless defined(&USB_DT_ENDPOINT);
    eval 'sub USB_DT_HID () {( &USB_TYPE_CLASS | 0x1);}' unless defined(&USB_DT_HID);
    eval 'sub USB_DT_REPORT () {( &USB_TYPE_CLASS | 0x2);}' unless defined(&USB_DT_REPORT);
    eval 'sub USB_DT_PHYSICAL () {( &USB_TYPE_CLASS | 0x3);}' unless defined(&USB_DT_PHYSICAL);
    eval 'sub USB_DT_HUB () {( &USB_TYPE_CLASS | 0x9);}' unless defined(&USB_DT_HUB);
    eval 'sub USB_DT_DEVICE_SIZE () {18;}' unless defined(&USB_DT_DEVICE_SIZE);
    eval 'sub USB_DT_CONFIG_SIZE () {9;}' unless defined(&USB_DT_CONFIG_SIZE);
    eval 'sub USB_DT_INTERFACE_SIZE () {9;}' unless defined(&USB_DT_INTERFACE_SIZE);
    eval 'sub USB_DT_ENDPOINT_SIZE () {7;}' unless defined(&USB_DT_ENDPOINT_SIZE);
    eval 'sub USB_DT_ENDPOINT_AUDIO_SIZE () {9;}' unless defined(&USB_DT_ENDPOINT_AUDIO_SIZE);
    eval 'sub USB_DT_HUB_NONVAR_SIZE () {7;}' unless defined(&USB_DT_HUB_NONVAR_SIZE);
    eval 'sub USB_DT_HID_SIZE () {9;}' unless defined(&USB_DT_HID_SIZE);
    eval 'sub USB_ENDPOINT_NUMBER_MASK () {0xf;}' unless defined(&USB_ENDPOINT_NUMBER_MASK);
    eval 'sub USB_ENDPOINT_DIR_MASK () {0x80;}' unless defined(&USB_ENDPOINT_DIR_MASK);
    eval 'sub USB_ENDPOINT_XFERTYPE_MASK () {0x3;}' unless defined(&USB_ENDPOINT_XFERTYPE_MASK);
    eval 'sub USB_ENDPOINT_XFER_CONTROL () {0;}' unless defined(&USB_ENDPOINT_XFER_CONTROL);
    eval 'sub USB_ENDPOINT_XFER_ISOC () {1;}' unless defined(&USB_ENDPOINT_XFER_ISOC);
    eval 'sub USB_ENDPOINT_XFER_BULK () {2;}' unless defined(&USB_ENDPOINT_XFER_BULK);
    eval 'sub USB_ENDPOINT_XFER_INT () {3;}' unless defined(&USB_ENDPOINT_XFER_INT);
    eval 'sub USB_PID_UNDEF_0 () {0xf0;}' unless defined(&USB_PID_UNDEF_0);
    eval 'sub USB_PID_OUT () {0xe1;}' unless defined(&USB_PID_OUT);
    eval 'sub USB_PID_ACK () {0xd2;}' unless defined(&USB_PID_ACK);
    eval 'sub USB_PID_DATA0 () {0xc3;}' unless defined(&USB_PID_DATA0);
    eval 'sub USB_PID_PING () {0xb4;}' unless defined(&USB_PID_PING);
    eval 'sub USB_PID_SOF () {0xa5;}' unless defined(&USB_PID_SOF);
    eval 'sub USB_PID_NYET () {0x96;}' unless defined(&USB_PID_NYET);
    eval 'sub USB_PID_DATA2 () {0x87;}' unless defined(&USB_PID_DATA2);
    eval 'sub USB_PID_SPLIT () {0x78;}' unless defined(&USB_PID_SPLIT);
    eval 'sub USB_PID_IN () {0x69;}' unless defined(&USB_PID_IN);
    eval 'sub USB_PID_NAK () {0x5a;}' unless defined(&USB_PID_NAK);
    eval 'sub USB_PID_DATA1 () {0x4b;}' unless defined(&USB_PID_DATA1);
    eval 'sub USB_PID_PREAMBLE () {0x3c;}' unless defined(&USB_PID_PREAMBLE);
    eval 'sub USB_PID_ERR () {0x3c;}' unless defined(&USB_PID_ERR);
    eval 'sub USB_PID_SETUP () {0x2d;}' unless defined(&USB_PID_SETUP);
    eval 'sub USB_PID_STALL () {0x1e;}' unless defined(&USB_PID_STALL);
    eval 'sub USB_PID_MDATA () {0xf;}' unless defined(&USB_PID_MDATA);
    eval 'sub USB_REQ_GET_STATUS () {0x;}' unless defined(&USB_REQ_GET_STATUS);
    eval 'sub USB_REQ_CLEAR_FEATURE () {0x1;}' unless defined(&USB_REQ_CLEAR_FEATURE);
    eval 'sub USB_REQ_SET_FEATURE () {0x3;}' unless defined(&USB_REQ_SET_FEATURE);
    eval 'sub USB_REQ_SET_ADDRESS () {0x5;}' unless defined(&USB_REQ_SET_ADDRESS);
    eval 'sub USB_REQ_GET_DESCRIPTOR () {0x6;}' unless defined(&USB_REQ_GET_DESCRIPTOR);
    eval 'sub USB_REQ_SET_DESCRIPTOR () {0x7;}' unless defined(&USB_REQ_SET_DESCRIPTOR);
    eval 'sub USB_REQ_GET_CONFIGURATION () {0x8;}' unless defined(&USB_REQ_GET_CONFIGURATION);
    eval 'sub USB_REQ_SET_CONFIGURATION () {0x9;}' unless defined(&USB_REQ_SET_CONFIGURATION);
    eval 'sub USB_REQ_GET_INTERFACE () {0xa;}' unless defined(&USB_REQ_GET_INTERFACE);
    eval 'sub USB_REQ_SET_INTERFACE () {0xb;}' unless defined(&USB_REQ_SET_INTERFACE);
    eval 'sub USB_REQ_SYNCH_FRAME () {0xc;}' unless defined(&USB_REQ_SYNCH_FRAME);
    eval 'sub USB_REQ_GET_REPORT () {0x1;}' unless defined(&USB_REQ_GET_REPORT);
    eval 'sub USB_REQ_GET_IDLE () {0x2;}' unless defined(&USB_REQ_GET_IDLE);
    eval 'sub USB_REQ_GET_PROTOCOL () {0x3;}' unless defined(&USB_REQ_GET_PROTOCOL);
    eval 'sub USB_REQ_SET_REPORT () {0x9;}' unless defined(&USB_REQ_SET_REPORT);
    eval 'sub USB_REQ_SET_IDLE () {0xa;}' unless defined(&USB_REQ_SET_IDLE);
    eval 'sub USB_REQ_SET_PROTOCOL () {0xb;}' unless defined(&USB_REQ_SET_PROTOCOL);
}
1;
