require '_h2ph_pre.ph';

no warnings qw(redefine misc);

require 'sys/ioccom.ph';
unless(defined(&DIOSXDCMD)) {
    eval 'sub DIOSXDCMD () { &_IOWR(ord(\'x\'), 101, \'struct xd_iocmd\');}' unless defined(&DIOSXDCMD);
}
eval 'sub XD_IOCMD_MAXS () {16;}' unless defined(&XD_IOCMD_MAXS);
eval 'sub XD_IOCMD_HSZ () {4;}' unless defined(&XD_IOCMD_HSZ);
eval 'sub XD_IOCMD_DMSZ () {24;}' unless defined(&XD_IOCMD_DMSZ);
1;
