require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&WDT_H)) {
    eval 'sub WDT_H () {1;}' unless defined(&WDT_H);
    require 'sys/ioccom.ph';
    eval 'sub WDT_SR_TEMP_GOOD () {0x2;}' unless defined(&WDT_SR_TEMP_GOOD);
    eval 'sub WDT_SR_ISO_IN0 () {0x4;}' unless defined(&WDT_SR_ISO_IN0);
    eval 'sub WDT_SR_ISO_IN1 () {0x8;}' unless defined(&WDT_SR_ISO_IN1);
    eval 'sub WDT_SR_FAN () {0x10;}' unless defined(&WDT_SR_FAN);
    eval 'sub WDT_SR_PS_OVER () {0x20;}' unless defined(&WDT_SR_PS_OVER);
    eval 'sub WDT_SR_PS_UNDER () {0x40;}' unless defined(&WDT_SR_PS_UNDER);
    eval 'sub WIOCSCHED () { &_IO(ord(\'w\'), 1);}' unless defined(&WIOCSCHED);
    eval 'sub WIOCGETSTATE () { &_IOR(ord(\'r\'), 2, \'struct wdt_state\');}' unless defined(&WIOCGETSTATE);
}
1;
