require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_HDMICEC_HDMICECIO_H)) {
    eval 'sub _DEV_HDMICEC_HDMICECIO_H () {1;}' unless defined(&_DEV_HDMICEC_HDMICECIO_H);
    require 'sys/types.ph';
    require 'sys/ioccom.ph';
    eval 'sub CEC_GET_PHYS_ADDR () { &_IOR(ord(\'C\'), 0,  &uint16_t);}' unless defined(&CEC_GET_PHYS_ADDR);
    eval 'sub CEC_GET_LOG_ADDRS () { &_IOR(ord(\'C\'), 1,  &uint16_t);}' unless defined(&CEC_GET_LOG_ADDRS);
    eval 'sub CEC_SET_LOG_ADDRS () { &_IOW(ord(\'C\'), 2,  &uint16_t);}' unless defined(&CEC_SET_LOG_ADDRS);
    eval 'sub CEC_GET_VENDOR_ID () { &_IOR(ord(\'C\'), 3,  &uint32_t);}' unless defined(&CEC_GET_VENDOR_ID);
}
1;
