require '_h2ph_pre.ph';

unless(defined(&_LINUX_HDSMART_H)) {
    eval 'sub _LINUX_HDSMART_H () {1;}' unless defined(&_LINUX_HDSMART_H);
    eval 'sub OFFLINE_FULL_SCAN () {0;}' unless defined(&OFFLINE_FULL_SCAN);
    eval 'sub SHORT_SELF_TEST () {1;}' unless defined(&SHORT_SELF_TEST);
    eval 'sub EXTEND_SELF_TEST () {2;}' unless defined(&EXTEND_SELF_TEST);
    eval 'sub SHORT_CAPTIVE_SELF_TEST () {129;}' unless defined(&SHORT_CAPTIVE_SELF_TEST);
    eval 'sub EXTEND_CAPTIVE_SELF_TEST () {130;}' unless defined(&EXTEND_CAPTIVE_SELF_TEST);
}
1;
