require '_h2ph_pre.ph';

no warnings qw(redefine misc);

if(defined(&_KERNEL)) {
    eval 'sub SDF_LOCKED () {0x1;}' unless defined(&SDF_LOCKED);
    eval 'sub SDF_WANTED () {0x2;}' unless defined(&SDF_WANTED);
    eval 'sub SDF_WLABEL () {0x4;}' unless defined(&SDF_WLABEL);
    eval 'sub SDF_LABELLING () {0x8;}' unless defined(&SDF_LABELLING);
    eval 'sub SDF_ANCIENT () {0x10;}' unless defined(&SDF_ANCIENT);
    eval 'sub SDF_DIRTY () {0x20;}' unless defined(&SDF_DIRTY);
    eval 'sub SDF_DYING () {0x40;}' unless defined(&SDF_DYING);
    eval 'sub SDF_WAITING () {0x80;}' unless defined(&SDF_WAITING);
    eval 'sub SDGP_RESULT_OK () {0;}' unless defined(&SDGP_RESULT_OK);
    eval 'sub SDGP_RESULT_OFFLINE () {1;}' unless defined(&SDGP_RESULT_OFFLINE);
}
1;
