require '_h2ph_pre.ph';

unless(defined(&CTL_MACHDEP_NAMES)) {
    eval 'sub CPU_CONSDEV () {1;}' unless defined(&CPU_CONSDEV);
    eval 'sub CPU_ROOT_DEVICE () {2;}' unless defined(&CPU_ROOT_DEVICE);
    eval 'sub CPU_BOOTED_KERNEL () {3;}' unless defined(&CPU_BOOTED_KERNEL);
    eval 'sub CPU_MAXID () {4;}' unless defined(&CPU_MAXID);
    eval 'sub CTL_MACHDEP_NAMES () {{ { 0, 0}, { "console_device",  &CTLTYPE_STRUCT }, { "root_device",  &CTLTYPE_STRING }, { "booted_kernel",  &CTLTYPE_STRING }, };}' unless defined(&CTL_MACHDEP_NAMES);
}
1;
