require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_RSTAT_H_RPCGEN)) {
    eval 'sub _RSTAT_H_RPCGEN () {1;}' unless defined(&_RSTAT_H_RPCGEN);
    eval 'sub RPCGEN_VERSION () {199506;}' unless defined(&RPCGEN_VERSION);
    require 'rpc/rpc.ph';
    unless(defined(&FSCALE)) {
	eval 'sub FSHIFT () {8;}' unless defined(&FSHIFT);
	eval 'sub FSCALE () {(1<< &FSHIFT);}' unless defined(&FSCALE);
    }
    eval 'sub CPUSTATES () {4;}' unless defined(&CPUSTATES);
    eval 'sub DK_NDRIVE () {4;}' unless defined(&DK_NDRIVE);
    eval 'sub RSTATPROG () {100001;}' unless defined(&RSTATPROG);
    eval 'sub RSTATVERS_TIME () {3;}' unless defined(&RSTATVERS_TIME);
    eval 'sub RSTATPROC_STATS () {1;}' unless defined(&RSTATPROC_STATS);
    eval 'sub RSTATPROC_HAVEDISK () {2;}' unless defined(&RSTATPROC_HAVEDISK);
    eval 'sub RSTATVERS_SWTCH () {2;}' unless defined(&RSTATVERS_SWTCH);
    eval 'sub RSTATVERS_ORIG () {1;}' unless defined(&RSTATVERS_ORIG);
}
1;
